mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
- Restrictions for team folders
This commit is contained in:
5
resources/js/helpers/ValidatorHelpers.js
vendored
5
resources/js/helpers/ValidatorHelpers.js
vendored
@@ -4,6 +4,11 @@ const ValidatorHelpers = {
|
||||
install(Vue) {
|
||||
|
||||
Vue.prototype.$cantInviteMember = function (email, invitations) {
|
||||
|
||||
if (store.getters.config.subscriptionType === 'metered') {
|
||||
return false
|
||||
}
|
||||
|
||||
// Get max team members limitations
|
||||
let limit = store.getters.user.data.meta.limitations.max_team_members
|
||||
|
||||
|
||||
Reference in New Issue
Block a user