fix: proper state indicatior in teams collections

This commit is contained in:
liyasthomas
2021-08-16 08:18:48 +05:30
parent 33e2afab7b
commit c6a3b784b5
5 changed files with 8 additions and 6 deletions

View File

@@ -29,6 +29,7 @@
v-tippy="{ theme: 'tooltip' }"
:title="$t('header.install_pwa')"
icon="offline_bolt"
class="rounded"
@click.native="showInstallPrompt()"
/>
<ButtonSecondary
@@ -63,6 +64,7 @@
v-else
v-tippy="{ theme: 'tooltip' }"
:title="$t('account')"
class="rounded"
icon="account_circle"
/>
</template>

View File

@@ -106,7 +106,7 @@
/>
</div>
<div
v-if="collections.length === 0"
v-if="filteredCollections.length === 0 && filterText.length === 0"
class="flex flex-col text-secondaryLight p-4 items-center justify-center"
>
<span class="text-center pb-4">
@@ -132,7 +132,7 @@
/>
</div>
<div
v-if="!(filteredCollections.length !== 0 || collections.length === 0)"
v-if="filterText.length !== 0 && filteredCollections.length === 0"
class="flex flex-col text-secondaryLight p-4 items-center justify-center"
>
<i class="opacity-75 pb-2 material-icons">manage_search</i>

View File

@@ -332,7 +332,7 @@ export default {
})
.catch((e) => {
console.error(e)
this.$toast.error(error.message, {
this.$toast.error(e.message, {
icon: "error",
})
this.signingInWithEmail = false

View File

@@ -335,7 +335,7 @@ export default defineComponent({
})
})
.catch((e) => {
this.$toast.error(error, {
this.$toast.error(e, {
icon: "done",
})
console.error(e)
@@ -355,7 +355,7 @@ export default defineComponent({
})
})
.catch((e) => {
this.$toast.error(error, {
this.$toast.error(e, {
icon: "done",
})
console.error(e)