mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
restriction text implementation for the frontend
This commit is contained in:
5
resources/js/store/modules/userAuth.js
vendored
5
resources/js/store/modules/userAuth.js
vendored
@@ -201,10 +201,7 @@ const mutations = {
|
||||
}
|
||||
|
||||
const getters = {
|
||||
isLimitedUser: (state) =>
|
||||
state.user &&
|
||||
state.user.data.relationships.failedPayments &&
|
||||
state.user.data.relationships.failedPayments.data.length === 3,
|
||||
userLimitationReason: (state) => state.user && state.user.data.meta.restrictions.reason,
|
||||
permission: (state) => state.permission,
|
||||
user: (state) => state.user,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user