diff --git a/frontend/src/components/RomDetails.vue b/frontend/src/components/RomDetails.vue
index ccb9be909..007827e0d 100644
--- a/frontend/src/components/RomDetails.vue
+++ b/frontend/src/components/RomDetails.vue
@@ -9,7 +9,7 @@ const rom = ref(JSON.parse(localStorage.getItem('currentRom')) || '')
const saveFiles = ref(false)
const searching = ref(false)
const matchedRoms = ref([])
-const changing = ref(false)
+const updating = ref(false)
const romNewName = ref(rom.value.filename)
const dialogSearchRom = ref(false)
const dialogEditRom = ref(false)
@@ -36,7 +36,7 @@ async function searchRomIGDB() {
}
async function updateRom(newRomRaw) {
- changing.value = true
+ updating.value = true
dialogSearchRom.value = false
const newRom = toRaw(newRomRaw)
newRom.filename = rom.value.filename
@@ -54,7 +54,7 @@ async function updateRom(newRomRaw) {
console.log(error)
emitter.emit('snackbarScan', {'msg': "Couldn't updated "+rom.value.filename+". Something went wrong...", 'icon': 'mdi-close-circle', 'color': 'red'})
})
- changing.value = false
+ updating.value = false
}
async function editRom() {
@@ -140,21 +140,46 @@ async function deleteRom() {
-
- IGDB id: {{ rom.r_igdb_id }}
- Name: {{ rom.name }}
- File: {{ rom.filename }}
- Size: {{ rom.size }}mb
- Slug: {{ rom.r_slug }}
- Platform: {{ rom.p_slug }}
- Cover: {{ rom.path_cover_l }}
-
- {{ rom.summary }}
-
+
+
+
+ | IGDB id |
+ {{ rom.r_igdb_id }} |
+
+
+ | Name |
+ {{ rom.name }} |
+
+
+ | File |
+ {{ rom.filename }} |
+
+
+ | Size |
+ {{ rom.size }}mb |
+
+
+ | Slug |
+ {{ rom.r_slug }} |
+
+
+ | Platform |
+ {{ rom.p_slug }} |
+
+
+ | Cover |
+ {{ rom.path_cover_l }} |
+
+
+ | Summary |
+ {{ rom.summary }} |
+
+
+
-
+
@@ -187,6 +212,10 @@ async function deleteRom() {
+
+
+
+
@@ -219,8 +248,4 @@ async function deleteRom() {
-
-
-
-
\ No newline at end of file