From da76356d30c3213485abf2782ba8fc20caab0ea4 Mon Sep 17 00:00:00 2001 From: zurdi Date: Tue, 3 Dec 2024 15:44:57 +0000 Subject: [PATCH] added contextual menu to game cards --- .../components/common/Game/Card/ActionBar.vue | 5 +- .../src/components/common/Game/Card/Base.vue | 277 +++++++++--------- .../components/common/Game/Dialog/EditRom.vue | 6 +- .../common/Game/Dialog/MatchRom.vue | 1 + .../common/Game/Dialog/SearchRom.vue | 2 + frontend/src/layouts/Dashboard/Recent.vue | 2 + frontend/src/views/Gallery/Collection.vue | 2 + frontend/src/views/Gallery/Platform.vue | 2 + frontend/src/views/GameDetails.vue | 6 +- 9 files changed, 157 insertions(+), 146 deletions(-) diff --git a/frontend/src/components/common/Game/Card/ActionBar.vue b/frontend/src/components/common/Game/Card/ActionBar.vue index 39e15226a..e3fa84d30 100644 --- a/frontend/src/components/common/Game/Card/ActionBar.vue +++ b/frontend/src/components/common/Game/Card/ActionBar.vue @@ -34,7 +34,7 @@ const ruffleEmulationSupported = computed(() => { icon="mdi-download" rounded="0" variant="text" - @click="romApi.downloadRom({ rom })" + @click.prevent="romApi.downloadRom({ rom })" /> { >