v1.7 beta.7

This commit is contained in:
carodej
2020-07-18 16:25:29 +02:00
parent 6c96fe2f46
commit 35543e6f06
8 changed files with 15 additions and 25 deletions
@@ -38,8 +38,7 @@
/>
</div>
<div class="toolbar-button-wrapper"
v-if="$checkPermission(['master', 'editor'])">
<div class="toolbar-button-wrapper" v-if="$checkPermission(['master', 'editor'])">
<ToolbarButton
source="move"
:class="{'is-inactive': canMoveInView}"
@@ -111,10 +110,15 @@
]),
hasCapacity() {
if (! this.$store.getters.config.storageLimit) {
// Check if set storage limitation
if (! this.$store.getters.config.storageLimit)
return true
}
// Check if is loaded user
if (! this.$store.getters.user )
return true
// Check if user has storage
return this.$store.getters.user.relationships.storage.data.attributes.used <= 100
},
directoryName() {
@@ -5,11 +5,11 @@
<b v-if="! config.app_logo_horizontal" class="logo-text">{{ config.app_name }}</b>
</router-link>
<ul class="navigation-links">
<li>
<!-- <li>
<a href="/#pricing">
{{ $t('page_index.menu.pricing') }}
</a>
</li>
</li>-->
<li>
<router-link :to="{name: 'ContactUs'}">
{{ $t('page_index.menu.contact_us') }}
@@ -47,7 +47,7 @@
@include widget-card;
position: fixed;
bottom: 0;
left: 35px;
left: 115px;
max-width: 225px;
z-index: 3;
border-bottom-left-radius: 0;
@@ -21,10 +21,6 @@
display: block;
padding-bottom: 20px;
&:first-child {
padding-bottom: 0;
}
.action-button {
cursor: pointer;