Migrated attachment manager to vue

This commit is contained in:
Dan Brown
2017-08-19 13:55:56 +01:00
parent a04b31866d
commit afc66b3c3d
9 changed files with 231 additions and 401 deletions

View File

@ -127,8 +127,6 @@ const methods = {
message += errors[key].join('\n');
});
this.$events.emit('error', message);
} else if (error.response.status === 403) {
this.$events.emit('error', error.response.data.error);
}
});
},
@ -144,8 +142,6 @@ const methods = {
}).catch(error=> {
if (error.response.status === 400) {
this.dependantPages = error.response.data;
} else if (error.response.status === 403) {
this.$events.emit('error', error.response.data.error);
}
});
},