mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
unlimited team members text fix
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<b class="mb-3 block text-sm dark:text-gray-500 text-gray-400">
|
||||
{{ limit.message }}
|
||||
</b>
|
||||
<ProgressLine :data="limit.distribution" />
|
||||
<ProgressLine v-if="limit.isVisibleBar" :data="limit.distribution" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -61,7 +61,9 @@ export default {
|
||||
},
|
||||
message: {
|
||||
max_storage_amount: this.$t('total_x_of_x_used', {use: item.use, total:item.total }),
|
||||
max_team_members: this.$t('total_x_of_x_members', {use: item.use, total:item.total }),
|
||||
max_team_members: item.total === -1
|
||||
? this.$t('max_team_members.unlimited')
|
||||
: this.$t('total_x_of_x_members', {use: item.use, total:item.total }),
|
||||
},
|
||||
title: {
|
||||
max_storage_amount: this.$t('storage'),
|
||||
@@ -71,6 +73,7 @@ export default {
|
||||
|
||||
this.limitations.push({
|
||||
message: payload.message[key],
|
||||
isVisibleBar: item.total === -1,
|
||||
distribution: [
|
||||
{
|
||||
progress: item.percentage,
|
||||
|
||||
Reference in New Issue
Block a user