mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 19:43:08 +02:00
Fix bug
This commit is contained in:
parent
29f927fe72
commit
0e0d6692c0
1 changed files with 2 additions and 2 deletions
|
@ -232,7 +232,7 @@ export default Vue.extend({
|
|||
eyeCatchingImageId: this.eyeCatchingImageId,
|
||||
};
|
||||
|
||||
function onError(err) {
|
||||
const onError = err => {
|
||||
if (err.id == '3d81ceae-475f-4600-b2a8-2bc116157532') {
|
||||
if (err.info.param == 'name') {
|
||||
this.$root.dialog({
|
||||
|
@ -247,7 +247,7 @@ export default Vue.extend({
|
|||
text: this.$t('name-already-exists')
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
if (this.pageId) {
|
||||
options.pageId = this.pageId;
|
||||
|
|
Loading…
Reference in a new issue