no message
This commit is contained in:
@@ -248,14 +248,12 @@ export default {
|
||||
return
|
||||
}
|
||||
this.openIng = true
|
||||
this.$store.dispatch("showSpinner", 600)
|
||||
this.$store.dispatch("openDialogUserid", userid).then(_ => {
|
||||
this.$emit("on-close")
|
||||
}).catch(({msg}) => {
|
||||
$A.modalError(msg)
|
||||
}).finally(_ => {
|
||||
this.openIng = false
|
||||
this.$store.dispatch("hiddenSpinner")
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,14 +36,12 @@ export default {
|
||||
return
|
||||
}
|
||||
this.openIng = true
|
||||
this.$store.dispatch("showSpinner", 600)
|
||||
this.$store.dispatch("openDialogUserid", userid).then(_ => {
|
||||
this.$emit("on-close")
|
||||
}).catch(({msg}) => {
|
||||
$A.modalError(msg)
|
||||
}).finally(_ => {
|
||||
this.openIng = false
|
||||
this.$store.dispatch("hiddenSpinner")
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -545,11 +545,8 @@ export default {
|
||||
this.dialogKey = "";
|
||||
//
|
||||
if ($A.isJson(dialogId) && $A.leftExists(dialogId.dialog_id, "u:")) {
|
||||
this.$store.dispatch("showSpinner", 300)
|
||||
this.$store.dispatch("openDialogUserid", $A.leftDelete(dialogId.dialog_id, "u:")).catch(({msg}) => {
|
||||
$A.modalError(msg)
|
||||
}).finally(_ => {
|
||||
this.$store.dispatch("hiddenSpinner")
|
||||
})
|
||||
} else {
|
||||
this.$store.dispatch("openDialog", dialogId)
|
||||
|
||||
Vendored
+4
-1
@@ -2290,6 +2290,7 @@ export default {
|
||||
resolve(dialog);
|
||||
return;
|
||||
}
|
||||
dispatch("showSpinner", 600)
|
||||
dispatch("call", {
|
||||
url: 'dialog/open/user',
|
||||
data: {
|
||||
@@ -2302,7 +2303,9 @@ export default {
|
||||
}).catch(e => {
|
||||
console.warn(e);
|
||||
reject(e);
|
||||
});
|
||||
}).finally(_ => {
|
||||
dispatch("hiddenSpinner")
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user