metered billing app fixes

This commit is contained in:
Čarodej
2022-02-11 17:02:17 +01:00
parent 3fd43936e7
commit eb948f9000
13 changed files with 109 additions and 66 deletions
@@ -171,12 +171,12 @@
</td>
<td class="px-3 md:px-1">
<span class="text-sm font-bold">
{{ row.data.meta.usages.featureEstimates.storage.usage }}
{{ row.data.meta.usages ? row.data.meta.usages.featureEstimates.storage.usage : '-' }}
</span>
</td>
<td class="px-3 md:px-1">
<span class="text-sm font-bold">
{{ row.data.meta.usages.costEstimate }}
{{ row.data.meta.usages ? row.data.meta.usages.costEstimate : '-' }}
</span>
</td>
<td class="px-3 md:px-1">
@@ -30,7 +30,7 @@
</li>
</ul>
<ul v-if="config.isAuthenticated" class="navigation-links">
<li v-if="config.userRegistration">
<li>
<router-link class="cta-button text-theme bg-theme-100" :to="{ name: 'Files' }">
{{ $t('go_to_files') }}
</router-link>
@@ -25,10 +25,10 @@
<image-icon size="34" class="vue-feather text-theme inline-block mb-4" />
<b class="font-bold text-base block leading-3">
{{ $te('input_image.title') || 'Upload Image' }}
{{ $te('input_image.title') ? $t('input_image.title') : 'Upload Image' }}
</b>
<small class="text-xs text-gray-500">
{{ $te('input_image.supported') || 'Supported formats are .png, .jpg, .jpeg.' }}
{{ $te('input_image.supported') ? $t('input_image.supported') : 'Supported formats are .png, .jpg, .jpeg.' }}
</small>
</div>
</div>
@@ -7,7 +7,9 @@
<script>
export default {
name: 'InfoBox',
props: ['type'],
props: [
'type'
],
}
</script>