mirror of
https://github.com/rommapp/romm.git
synced 2026-12-05 05:07:31 +01:00
Merge branch 'feat/unmatch-rom' of github.com:SaraVieira/romm into feat/unmatch-rom
This commit is contained in:
@@ -290,7 +290,7 @@ async def update_rom(
|
||||
rename_as_source: bool = False,
|
||||
remove_cover: bool = False,
|
||||
artwork: UploadFile | None = None,
|
||||
unmatch: bool = False
|
||||
unmatch_metadata: bool = False
|
||||
) -> DetailedRomSchema:
|
||||
"""Update rom endpoint
|
||||
|
||||
@@ -299,7 +299,7 @@ async def update_rom(
|
||||
id (Rom): Rom internal id
|
||||
rename_as_source (bool, optional): Flag to rename rom file as matched IGDB game. Defaults to False.
|
||||
artwork (UploadFile, optional): Custom artork to set as cover. Defaults to File(None).
|
||||
unmatch: Weather to remove the match for this game. Defaults to false
|
||||
unmatch_metadata: Remove the metadata matches for this game. Defaults to False.
|
||||
|
||||
Raises:
|
||||
HTTPException: If a rom already have that name when enabling the rename_as_source flag
|
||||
|
||||
@@ -226,7 +226,7 @@ function closeDialog() {
|
||||
<v-row class="justify-center mt-4 mb-2" no-gutters>
|
||||
<v-btn-group divided density="compact">
|
||||
<v-btn
|
||||
v-if="rom.igdb_id || rom.moby_id || rom.sgdb_id"
|
||||
:disabled="rom.igdb_id || rom.moby_id || rom.sgdb_id"
|
||||
class="text-romm-red bg-terciary"
|
||||
variant="flat"
|
||||
@click="() => updateRom({ unmatch: true })"
|
||||
|
||||
Reference in New Issue
Block a user