mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-23 13:24:42 +00:00
- custom route for PlanPricingTables.vue
- removed passport error in signin form
This commit is contained in:
@@ -805,6 +805,10 @@ class SetupDevEnvironment extends Command
|
|||||||
'name' => 'registration',
|
'name' => 'registration',
|
||||||
'value' => 1,
|
'value' => 1,
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'name' => 'app_payments_active',
|
||||||
|
'value' => 1,
|
||||||
|
],
|
||||||
[
|
[
|
||||||
'name' => 'storage_limitation',
|
'name' => 'storage_limitation',
|
||||||
'value' => 1,
|
'value' => 1,
|
||||||
|
|||||||
@@ -39,6 +39,9 @@
|
|||||||
HardDriveIcon,
|
HardDriveIcon,
|
||||||
ButtonBase,
|
ButtonBase,
|
||||||
},
|
},
|
||||||
|
props: [
|
||||||
|
'customRoute'
|
||||||
|
],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
plans: undefined,
|
plans: undefined,
|
||||||
@@ -50,7 +53,10 @@
|
|||||||
methods: {
|
methods: {
|
||||||
selectPlan(plan) {
|
selectPlan(plan) {
|
||||||
this.$emit('selected-plan', plan)
|
this.$emit('selected-plan', plan)
|
||||||
this.$router.push({name: 'UpgradeBilling'})
|
|
||||||
|
let route = this.customRoute ? this.customRoute : 'UpgradeBilling'
|
||||||
|
|
||||||
|
this.$router.push({name: route})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|||||||
-1
@@ -29,7 +29,6 @@ const actions = {
|
|||||||
if ([401, 403].includes(error.response.status)) {
|
if ([401, 403].includes(error.response.status)) {
|
||||||
|
|
||||||
commit('SET_AUTHORIZED', false)
|
commit('SET_AUTHORIZED', false)
|
||||||
//router.push({name: 'SignIn'})
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -193,17 +193,6 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (error.response.status == 401) {
|
|
||||||
|
|
||||||
if (error.response.data.error === 'invalid_client') {
|
|
||||||
events.$emit('alert:open', {
|
|
||||||
emoji: '🤔',
|
|
||||||
title: this.$t('popup_passport_error.title'),
|
|
||||||
message: this.$t('popup_passport_error.message')
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// End loading
|
// End loading
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user