mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-24 09:50:39 +00:00
- Added status column to the fixed plan table
- Ability to delete fixed plan if there isn't any subscribed user - Improved error handling in subscription module
This commit is contained in:
@@ -250,7 +250,12 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
if (error.response.status === 500) {
|
||||
if (error.response.status === 500 && error.response.data.type) {
|
||||
events.$emit('alert:open', {
|
||||
title: error.response.data.title,
|
||||
message: error.response.data.message,
|
||||
})
|
||||
} else if (error.response.status === 500) {
|
||||
this.isError = true
|
||||
this.errorMessage = error.response.data.message
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user