Skip to content

Commit f8f17ed

Browse files
committed
refactor: add license_is_valid
1 parent 28f315f commit f8f17ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/stores/modules/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const useUserStore = defineStore('user', {
105105
return this.edition == 'PE' && this.license_is_valid
106106
},
107107
isEE() {
108-
return this.edition == 'EE'
108+
return this.edition == 'EE' && this.license_is_valid
109109
},
110110
changeUserType(num: number, token?: string) {
111111
this.userType = num

0 commit comments

Comments
 (0)