diff --git a/frontend/src/components/Details/Info/FileInfo.vue b/frontend/src/components/Details/Info/FileInfo.vue index 18dac9539..ba426f6e8 100644 --- a/frontend/src/components/Details/Info/FileInfo.vue +++ b/frontend/src/components/Details/Info/FileInfo.vue @@ -14,6 +14,11 @@ const props = defineProps<{ rom: DetailedRom }>(); const downloadStore = storeDownload(); const auth = storeAuth(); const romUser = ref(props.rom.rom_user); +const romInfo = ref([ + { label: "SHA-1", value: props.rom.sha1_hash }, + { label: "MD5", value: props.rom.md5_hash }, + { label: "CRC", value: props.rom.crc_hash }, +]); // Functions function collectionsWithoutFavourites(collections: Collection[]) { @@ -111,33 +116,17 @@ watch( Info - + Size: {{ formatBytes(rom.file_size_bytes) }} {{ info.label }}: {{ info.value }} - SHA-1: {{ rom.sha1_hash }} - - - MD5: {{ rom.md5_hash }} - - - CRC: {{ rom.crc_hash }} -