mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-26 02:20:39 +00:00
labels fix
This commit is contained in:
@@ -107,10 +107,14 @@
|
||||
'config'
|
||||
]),
|
||||
subscriptionStatus() {
|
||||
return this.user.data.attributes.subscription ? this.$t('global.premium') : this.$t('global.free')
|
||||
return this.user.data.relationships.subscription
|
||||
? this.$t('global.premium')
|
||||
: this.$t('global.free')
|
||||
},
|
||||
subscriptionColor() {
|
||||
return this.user.data.attributes.subscription ? 'green' : 'purple'
|
||||
return this.user.data.relationships.subscription
|
||||
? 'green'
|
||||
: 'purple'
|
||||
},
|
||||
canShowUpgradeWarning() {
|
||||
return this.config.storageLimit && this.user.data.attributes.storage.used > 95
|
||||
|
||||
Reference in New Issue
Block a user