mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-25 14:14:42 +00:00
none billing app fixes
This commit is contained in:
+2
-4
@@ -3,7 +3,7 @@ import store from '../store/index'
|
|||||||
const ValidatorHelpers = {
|
const ValidatorHelpers = {
|
||||||
install(Vue) {
|
install(Vue) {
|
||||||
Vue.prototype.$cantInviteMember = function (email, invitations) {
|
Vue.prototype.$cantInviteMember = function (email, invitations) {
|
||||||
if (store.getters.config.subscriptionType === 'metered') {
|
if (['metered', 'none'].includes(store.getters.config.subscriptionType)) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -28,9 +28,7 @@ const ValidatorHelpers = {
|
|||||||
Vue.prototype.$reCaptchaToken = async function (action) {
|
Vue.prototype.$reCaptchaToken = async function (action) {
|
||||||
await this.$recaptchaLoaded()
|
await this.$recaptchaLoaded()
|
||||||
|
|
||||||
let token = await this.$recaptcha(action)
|
return await this.$recaptcha(action)
|
||||||
|
|
||||||
return token
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<img
|
<img
|
||||||
:src="user.data.relationships.settings.data.attributes.avatar.sm"
|
:src="user.data.relationships.settings.data.attributes.avatar.sm"
|
||||||
:alt="user.data.relationships.settings.data.attributes.name"
|
:alt="user.data.relationships.settings.data.attributes.name"
|
||||||
class="relative z-0 h-14 w-14 cursor-pointer rounded-xl object-cover shadow-lg md:h-16 md:w-16"
|
class="relative z-0 h-14 w-14 rounded-xl object-cover shadow-lg md:h-16 md:w-16"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!--User name & email-->
|
<!--User name & email-->
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
{{ storage.data.attributes.used }}
|
{{ storage.data.attributes.used }}
|
||||||
</b>
|
</b>
|
||||||
|
|
||||||
<b v-if="['fixed', 'none'].includes(config.subscriptionType)" class="mt-0.5 block text-sm text-gray-400">
|
<b v-if="config.subscriptionType === 'fixed' || (config.subscriptionType === 'none' && config.storageLimit)" class="mt-0.5 block text-sm text-gray-400">
|
||||||
{{ $t('Total of') }} {{ storage.data.attributes.capacity }}
|
{{ $t('Total of') }} {{ storage.data.attributes.capacity }}
|
||||||
{{ $t('Used') }}
|
{{ $t('Used') }}
|
||||||
</b>
|
</b>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
{{ $t('Used') }}
|
{{ $t('Used') }}
|
||||||
</b>
|
</b>
|
||||||
|
|
||||||
<ProgressLine :data="distribution" class="mt-5" />
|
<ProgressLine v-if="storage.data.attributes.used !== '0B'" :data="distribution" class="mt-5" />
|
||||||
</div>
|
</div>
|
||||||
<div v-if="distribution" class="card shadow-card">
|
<div v-if="distribution" class="card shadow-card">
|
||||||
<FormLabel icon="hard-drive">
|
<FormLabel icon="hard-drive">
|
||||||
|
|||||||
@@ -66,6 +66,11 @@ class SetupProdEnvironment extends Command
|
|||||||
$this->info('Clearing application cache...');
|
$this->info('Clearing application cache...');
|
||||||
$this->clear_cache();
|
$this->clear_cache();
|
||||||
|
|
||||||
|
$this->info('Dispatching jobs...');
|
||||||
|
$this->call('queue:work', [
|
||||||
|
'--stop-when-empty' => true,
|
||||||
|
]);
|
||||||
|
|
||||||
$this->warn('Please make sure your current host/domain where you are running app is included in your .env SANCTUM_STATEFUL_DOMAINS variable.');
|
$this->warn('Please make sure your current host/domain where you are running app is included in your .env SANCTUM_STATEFUL_DOMAINS variable.');
|
||||||
|
|
||||||
$this->info('Everything is done, congratulations! 🥳🥳🥳');
|
$this->info('Everything is done, congratulations! 🥳🥳🥳');
|
||||||
|
|||||||
Reference in New Issue
Block a user