diff --git a/resources/js/components/Admin/WidgetLatestRegistrations.vue b/resources/js/components/Admin/WidgetLatestRegistrations.vue
index 145db7f7..660ee3d3 100644
--- a/resources/js/components/Admin/WidgetLatestRegistrations.vue
+++ b/resources/js/components/Admin/WidgetLatestRegistrations.vue
@@ -171,12 +171,12 @@
- {{ row.data.meta.usages.featureEstimates.storage.usage }}
+ {{ row.data.meta.usages ? row.data.meta.usages.featureEstimates.storage.usage : '-' }}
|
- {{ row.data.meta.usages.costEstimate }}
+ {{ row.data.meta.usages ? row.data.meta.usages.costEstimate : '-' }}
|
diff --git a/resources/js/components/Index/IndexNavigation.vue b/resources/js/components/Index/IndexNavigation.vue
index 67434279..2c8be299 100644
--- a/resources/js/components/Index/IndexNavigation.vue
+++ b/resources/js/components/Index/IndexNavigation.vue
@@ -30,7 +30,7 @@
- -
+
-
{{ $t('go_to_files') }}
diff --git a/resources/js/components/Others/Forms/ImageInput.vue b/resources/js/components/Others/Forms/ImageInput.vue
index b83bfdf6..b0af4c87 100644
--- a/resources/js/components/Others/Forms/ImageInput.vue
+++ b/resources/js/components/Others/Forms/ImageInput.vue
@@ -25,10 +25,10 @@
- {{ $te('input_image.title') || 'Upload Image' }}
+ {{ $te('input_image.title') ? $t('input_image.title') : 'Upload Image' }}
- {{ $te('input_image.supported') || 'Supported formats are .png, .jpg, .jpeg.' }}
+ {{ $te('input_image.supported') ? $t('input_image.supported') : 'Supported formats are .png, .jpg, .jpeg.' }}
diff --git a/resources/js/components/Others/Forms/InfoBox.vue b/resources/js/components/Others/Forms/InfoBox.vue
index 9f497e6f..0a5e2e92 100644
--- a/resources/js/components/Others/Forms/InfoBox.vue
+++ b/resources/js/components/Others/Forms/InfoBox.vue
@@ -7,7 +7,9 @@
diff --git a/resources/js/store/modules/lists.js b/resources/js/store/modules/lists.js
index a6023295..3f745427 100644
--- a/resources/js/store/modules/lists.js
+++ b/resources/js/store/modules/lists.js
@@ -94,6 +94,10 @@ const defaultState = {
label: 'Fixed',
value: 'fixed',
},
+ {
+ label: 'None',
+ value: 'none',
+ },
],
teamPermissions: {
'can-edit': 'Can Edit',
diff --git a/resources/js/views/Admin.vue b/resources/js/views/Admin.vue
index a3f01f14..a0db3008 100644
--- a/resources/js/views/Admin.vue
+++ b/resources/js/views/Admin.vue
@@ -124,51 +124,57 @@ export default {
],
}[this.config.subscriptionType]
- return [
- {
- groupCollapsable: false,
- groupTitle: this.$t('global.admin'),
- groupLinks: [
- {
- title: this.$t('admin_menu.dashboard'),
- route: 'Dashboard',
- icon: 'box',
- },
- {
- title: this.$t('admin_menu.users'),
- route: 'Users',
- icon: 'users',
- linkActivation: ['users', 'user'],
- },
- {
- title: this.$t('admin_menu.settings'),
- route: 'AppSettings',
- icon: 'settings',
- },
- ],
- },
- {
- groupCollapsable: false,
- groupTitle: this.$t('Content'),
- groupLinks: [
- {
- title: this.$t('admin_menu.pages'),
- route: 'Pages',
- icon: 'monitor',
- },
- {
- title: this.$t('admin_menu.languages'),
- route: 'Language',
- icon: 'globe',
- },
- ],
- },
- {
- groupCollapsable: false,
- groupTitle: this.$t('Subscription'),
- groupLinks: subscriptionLinks,
- },
- ]
+ let sections = [
+ {
+ groupCollapsable: false,
+ groupTitle: this.$t('global.admin'),
+ groupLinks: [
+ {
+ title: this.$t('admin_menu.dashboard'),
+ route: 'Dashboard',
+ icon: 'box',
+ },
+ {
+ title: this.$t('admin_menu.users'),
+ route: 'Users',
+ icon: 'users',
+ linkActivation: ['users', 'user'],
+ },
+ {
+ title: this.$t('admin_menu.settings'),
+ route: 'AppSettings',
+ icon: 'settings',
+ },
+ ],
+ },
+ {
+ groupCollapsable: false,
+ groupTitle: this.$t('Content'),
+ groupLinks: [
+ {
+ title: this.$t('admin_menu.pages'),
+ route: 'Pages',
+ icon: 'monitor',
+ },
+ {
+ title: this.$t('admin_menu.languages'),
+ route: 'Language',
+ icon: 'globe',
+ },
+ ],
+ },
+ ]
+
+ // Push subscription if there is metered or fixed type
+ if (this.config.subscriptionType !== 'none') {
+ sections.push({
+ groupCollapsable: false,
+ groupTitle: this.$t('Subscription'),
+ groupLinks: subscriptionLinks,
+ })
+ }
+
+ return sections
},
},
components: {
diff --git a/resources/js/views/Admin/AppSettings/AppSettingsTabs/Appearance.vue b/resources/js/views/Admin/AppSettings/AppSettingsTabs/Appearance.vue
index 94aa9d95..fe4e9870 100644
--- a/resources/js/views/Admin/AppSettings/AppSettingsTabs/Appearance.vue
+++ b/resources/js/views/Admin/AppSettings/AppSettingsTabs/Appearance.vue
@@ -54,7 +54,7 @@
-
+
diff --git a/resources/js/views/Admin/AppSettings/AppSettingsTabs/Others.vue b/resources/js/views/Admin/AppSettings/AppSettingsTabs/Others.vue
index 050a7d77..df180b9d 100644
--- a/resources/js/views/Admin/AppSettings/AppSettingsTabs/Others.vue
+++ b/resources/js/views/Admin/AppSettings/AppSettingsTabs/Others.vue
@@ -1,7 +1,7 @@
-
+
{{ $t('Storage & Upload') }}
@@ -55,7 +55,7 @@
-
+
{{ $t('Application') }}
@@ -88,7 +88,7 @@
-
+
+
+ As you installed app with metered subscription type, you have to create your plan as soon as possible to prevent new user registration without automatically assigned subscription plan.
+
+
|