mirror of
https://github.com/rommapp/romm.git
synced 2026-12-06 15:54:45 +01:00
refactor(frontend-v2): rename showPlatform to showPlatformIcon in GameGrid and Platform components
This commit is contained in:
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)"
|
||||
/>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user