refactor(frontend-v2): rename showPlatform to showPlatformIcon in GameGrid and Platform components

This commit is contained in:
zurdi committed 2026-04-29 00:05:45 +00:00
1 parent 31ab94a66f
commit ebdf976238
2 files changed
+4 -4

No files matched your search

@@ -15,7 +15,7 @@ interface Props {
skeletonCount?: number;
minCardWidth?: string;
webp?: boolean;
showPlatform?: boolean;
showPlatformIcon?: boolean;
showTitle?: boolean;
selectedIds?: Set<number>;
}
@@ -25,7 +25,7 @@ const props = withDefaults(defineProps<Props>(), {
skeletonCount: 12,
minCardWidth: "160px",
webp: false,
showPlatform: true,
showPlatformIcon: true,
showTitle: true,
selectedIds: () => new Set<number>(),
});
@@ -55,7 +55,7 @@ const gridStyle = computed(() => ({
:key="rom.id"
:rom="rom"
:webp="webp"
:show-platform="showPlatform"
:show-platform-icon="showPlatformIcon"
:show-title="showTitle"
:selected="selectedIds.has(rom.id)"
/>
+1 -1
View File
@@ -274,7 +274,7 @@ function onListSort(options: { sortBy: SortEntry[] }) {
:roms="allRoms"
:loading="fetchingRoms"
:webp="supportsWebp"
:show-platform="false"
:show-platform-icon="false"
/>
<LoadMore
v-if="hasMore"