Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 1a1bc60

Browse files
committed
feat(collection): remove double Layout
1 parent f574428 commit 1a1bc60

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/rmrk/Gallery/CollectionItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
</b-field>
6969
</Search>
7070

71-
<GalleryCardList :items="collection.nfts" />
71+
<GalleryCardList :items="collection.nfts" horizontalLayout />
7272

7373
<Pagination
7474
class="py-5"

src/components/rmrk/Gallery/GalleryCardList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export default class GalleryCardList extends Vue {
3838
@Prop({ default: 'nftDetail' }) public type!: string;
3939
@Prop({ default: 'rmrk/detail' }) public link!: string;
4040
@Prop() public items!: RmrkType[];
41-
@Prop({ default: false }) public horizontalLayout!: boolean;
42-
get classLayout() {
41+
@Prop({ type: Boolean, default: false }) public horizontalLayout!: boolean;
42+
get classLayout(): string {
4343
return this.$store.getters.getLayoutClass
4444
}
4545
}

0 commit comments

Comments
 (0)