mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Fix bug
This commit is contained in:
parent
cdff15f1b2
commit
c9142e49be
@ -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 New Issue
Block a user