diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 90f3203a..3a520f0e 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -29,7 +29,7 @@ "/chunks/user.js": "/chunks/user.js?id=c191b906a0496fe5", "/chunks/user-detail.js": "/chunks/user-detail.js?id=f9e17ff98354e984", "/chunks/user-storage.js": "/chunks/user-storage.js?id=a8e0bce4703232a0", - "/chunks/user-subscription.js": "/chunks/user-subscription.js?id=bfe357e0ea955be0", + "/chunks/user-subscription.js": "/chunks/user-subscription.js?id=27d046c1122783ea", "/chunks/user-password.js": "/chunks/user-password.js?id=23d3aee39f539a3c", "/chunks/user-delete.js": "/chunks/user-delete.js?id=6bea6f8cadf4d74f", "/chunks/plan.js": "/chunks/plan.js?id=4b267375ea9f19b3", @@ -61,7 +61,7 @@ "/chunks/profile.js": "/chunks/profile.js?id=7d3719710c55ceeb", "/chunks/settings-password.js": "/chunks/settings-password.js?id=11d4331650cac280", "/chunks/settings-storage.js": "/chunks/settings-storage.js?id=994b669a56fd417b", - "/chunks/billing.js": "/chunks/billing.js?id=c00460dcfd3403a8", + "/chunks/billing.js": "/chunks/billing.js?id=4ea77ab501b8c575", "/chunks/platform.js": "/chunks/platform.js?id=2c387300504bdfe7", "/chunks/files.js": "/chunks/files.js?id=060b1a34dfdbe97c", "/chunks/recent-uploads.js": "/chunks/recent-uploads.js?id=0f63bbc02ad8f3e1", diff --git a/resources/js/components/Subscription/UserFixedSubscriptionDetail.vue b/resources/js/components/Subscription/UserFixedSubscriptionDetail.vue index 8272431a..f3e2463e 100644 --- a/resources/js/components/Subscription/UserFixedSubscriptionDetail.vue +++ b/resources/js/components/Subscription/UserFixedSubscriptionDetail.vue @@ -17,7 +17,7 @@ {{ limit.message }} - + @@ -51,7 +51,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'), @@ -61,7 +63,8 @@ export default { limitations.push({ message: payload.message[key], - distribution: [ + isVisibleBar: item.total !== -1, + distribution: [ { progress: item.percentage, color: payload.color[key], diff --git a/resources/js/views/Admin/Users/UserTabs/UserFixedSubscription.vue b/resources/js/views/Admin/Users/UserTabs/UserFixedSubscription.vue index dcb4aace..507b26c6 100644 --- a/resources/js/views/Admin/Users/UserTabs/UserFixedSubscription.vue +++ b/resources/js/views/Admin/Users/UserTabs/UserFixedSubscription.vue @@ -17,7 +17,7 @@ {{ limit.message }} - + @@ -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,