🐛 fix external links in sidemenu (#1720)

* fix admin link clickability

* fix bug when there are unsaved changes
This commit is contained in:
Mutasem Aldmour
2021-05-04 18:55:39 +03:00
committed by GitHub
parent 715e41b590
commit 0cb96d6caa
5 changed files with 90 additions and 57 deletions

View File

@@ -52,7 +52,7 @@ export const genericHelpers = mixins(showMessage).extend({
return true;
},
startLoading () {
startLoading (text?: string) {
if (this.loadingService !== null) {
return;
}
@@ -60,7 +60,7 @@ export const genericHelpers = mixins(showMessage).extend({
this.loadingService = this.$loading(
{
lock: true,
text: 'Loading',
text: text || 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(255, 255, 255, 0.8)',
},