made stuff nicer a bit

This commit is contained in:
2020-11-26 21:53:32 +01:00
parent 9dc4a1a25c
commit 4c7f0cc58d
4 changed files with 38 additions and 6 deletions

View File

@@ -7,7 +7,8 @@
</b-row>
<big-chungus-loader text="Fetching collections..." v-if="processing"/>
<b-row v-else>
<collections-list-element :title="c.name" :count="c.element_count" @click="openCollection(c.id)" :key="c.id" v-for="c in collections"/>
<collections-list-element :title="c.name" :count="c.element_count" :type="c.type" @click="openCollection(c.id)"
:key="c.id" v-for="c in collections"/>
</b-row>
</b-container>
</template>
@@ -41,6 +42,7 @@ export default {
}).catch(({text}) => {
this.$showToast(text);
});
}
}
</script>