[+] Encapsulate showError function
This commit is contained in:
@@ -251,6 +251,17 @@ export default class App extends Vue
|
||||
else this.loading += '\n' + message;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show error message on loading screen
|
||||
*
|
||||
* @param message Error message
|
||||
*/
|
||||
private showError(message: string)
|
||||
{
|
||||
this.loadingError = true;
|
||||
this.loading = message;
|
||||
}
|
||||
|
||||
/**
|
||||
* This is called when a navigation tab is clicked
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user