mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
refactor: standardize prop naming conventions in Recent, MatchRom, SearchRom, Collection, and Platform components
This commit is contained in:
@@ -42,14 +42,14 @@ function onGameClick(emitData: { rom: SimpleRom; event: MouseEvent }) {
|
||||
:key="rom.updated_at"
|
||||
:rom="rom"
|
||||
@click="onGameClick"
|
||||
title-on-hover
|
||||
titleOnHover
|
||||
pointerOnHover
|
||||
withLink
|
||||
show-flags
|
||||
show-fav
|
||||
transform-scale
|
||||
show-action-bar
|
||||
show-platform-icon
|
||||
showFlags
|
||||
showFav
|
||||
transformScale
|
||||
showActionBar
|
||||
showPlatformIcon
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
@@ -341,9 +341,8 @@ onBeforeUnmount(() => {
|
||||
v-if="rom"
|
||||
@click="showSources(matchedRom)"
|
||||
:rom="matchedRom"
|
||||
title-on-footer
|
||||
transform-scale
|
||||
title-on-hover
|
||||
transformScale
|
||||
titleOnHover
|
||||
pointerOnHover
|
||||
/>
|
||||
</v-col>
|
||||
|
||||
@@ -200,11 +200,11 @@ onBeforeUnmount(() => {
|
||||
title-on-hover
|
||||
pointerOnHover
|
||||
withLink
|
||||
show-flags
|
||||
show-fav
|
||||
transform-scale
|
||||
show-action-bar
|
||||
show-platform-icon
|
||||
showFlags
|
||||
showFav
|
||||
transformScale
|
||||
showActionBar
|
||||
showPlatformIcon
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
@@ -308,16 +308,16 @@ onBeforeUnmount(() => {
|
||||
<game-card
|
||||
:key="rom.updated_at"
|
||||
:rom="rom"
|
||||
title-on-hover
|
||||
titleOnHover
|
||||
pointerOnHover
|
||||
withLink
|
||||
show-flags
|
||||
show-action-bar
|
||||
transform-scale
|
||||
with-border
|
||||
show-fav
|
||||
show-platform-icon
|
||||
:with-border-romm-accent="
|
||||
showFlags
|
||||
showActionBar
|
||||
transformScale
|
||||
withBorder
|
||||
showFav
|
||||
showPlatformIcon
|
||||
:withBorderRommAccent="
|
||||
romsStore.isSimpleRom(rom) && selectedRoms?.includes(rom)
|
||||
"
|
||||
@click="onGameClick"
|
||||
|
||||
@@ -326,15 +326,15 @@ onBeforeUnmount(() => {
|
||||
v-if="currentPlatform"
|
||||
:key="rom.updated_at"
|
||||
:rom="rom"
|
||||
title-on-hover
|
||||
titleOnHover
|
||||
pointerOnHover
|
||||
withLink
|
||||
show-flags
|
||||
show-action-bar
|
||||
show-fav
|
||||
transform-scale
|
||||
with-border
|
||||
:with-border-romm-accent="
|
||||
showFlags
|
||||
showActionBar
|
||||
showFav
|
||||
transformScale
|
||||
withBorder
|
||||
:withBorderRommAccent="
|
||||
romsStore.isSimpleRom(rom) && selectedRoms?.includes(rom)
|
||||
"
|
||||
@click="onGameClick"
|
||||
|
||||
Reference in New Issue
Block a user