From ebdf9762385a8fd84cc7ca30feb100933f5f11df Mon Sep 17 00:00:00 2001 From: zurdi Date: Wed, 29 Apr 2026 00:05:45 +0000 Subject: [PATCH] refactor(frontend-v2): rename showPlatform to showPlatformIcon in GameGrid and Platform components --- frontend/src/v2/components/Gallery/GameGrid.vue | 6 +++--- frontend/src/v2/views/Gallery/Platform.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/v2/components/Gallery/GameGrid.vue b/frontend/src/v2/components/Gallery/GameGrid.vue index 5986ef255..87e24e80b 100644 --- a/frontend/src/v2/components/Gallery/GameGrid.vue +++ b/frontend/src/v2/components/Gallery/GameGrid.vue @@ -15,7 +15,7 @@ interface Props { skeletonCount?: number; minCardWidth?: string; webp?: boolean; - showPlatform?: boolean; + showPlatformIcon?: boolean; showTitle?: boolean; selectedIds?: Set; } @@ -25,7 +25,7 @@ const props = withDefaults(defineProps(), { skeletonCount: 12, minCardWidth: "160px", webp: false, - showPlatform: true, + showPlatformIcon: true, showTitle: true, selectedIds: () => new Set(), }); @@ -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)" /> diff --git a/frontend/src/v2/views/Gallery/Platform.vue b/frontend/src/v2/views/Gallery/Platform.vue index f92f11177..6cbafb27c 100644 --- a/frontend/src/v2/views/Gallery/Platform.vue +++ b/frontend/src/v2/views/Gallery/Platform.vue @@ -274,7 +274,7 @@ function onListSort(options: { sortBy: SortEntry[] }) { :roms="allRoms" :loading="fetchingRoms" :webp="supportsWebp" - :show-platform="false" + :show-platform-icon="false" />