refactor: add license_is_valid
This commit is contained in:
parent
28f315fc3c
commit
f8f17ed652
@ -105,7 +105,7 @@ const useUserStore = defineStore('user', {
|
|||||||
return this.edition == 'PE' && this.license_is_valid
|
return this.edition == 'PE' && this.license_is_valid
|
||||||
},
|
},
|
||||||
isEE() {
|
isEE() {
|
||||||
return this.edition == 'EE'
|
return this.edition == 'EE' && this.license_is_valid
|
||||||
},
|
},
|
||||||
changeUserType(num: number, token?: string) {
|
changeUserType(num: number, token?: string) {
|
||||||
this.userType = num
|
this.userType = num
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user