Hotfix upload buttons in media tabs

This commit is contained in:
Georges-Antoine Assi
2026-07-13 08:26:56 -04:00
parent dc0ea8db7d
commit 5f059149c8
3 changed files with 3 additions and 28 deletions

View File

@@ -189,12 +189,9 @@ function requestDeleteManual() {
<div class="r-v2-manual">
<!-- The subtab label in the sidebar already names the section, so the
header skips a redundant title and just hosts the entry selector
(when multiple) + the Upload button. Delete and Redownload live
inside the viewer's toolbar; they act on the currently displayed
entry. -->
<header v-if="manualEntries.length > 0" class="r-v2-manual__head">
(when multiple). -->
<header v-if="manualEntries.length > 1" class="r-v2-manual__head">
<RSelect
v-if="manualEntries.length > 1"
v-model="selectedManualId"
:items="manualItems"
density="compact"
@@ -202,16 +199,6 @@ function requestDeleteManual() {
hide-details
class="r-v2-manual__select"
/>
<div class="r-v2-manual__actions">
<RBtn
variant="outlined"
size="small"
prepend-icon="mdi-cloud-upload-outline"
@click="manualDz?.open()"
>
{{ t("common.upload") }}
</RBtn>
</div>
</header>
<RDropzone

View File

@@ -282,19 +282,6 @@ async function deleteSoundtrack(fileId: number) {
<!-- Soundtrack subtab -->
<section v-show="subTab === 'soundtrack'" class="r-v2-media__panel">
<header v-if="rom.has_soundtrack" class="r-v2-media__section-head">
<div class="r-v2-media__section-actions">
<RBtn
variant="outlined"
size="small"
prepend-icon="mdi-cloud-upload-outline"
@click="soundtrackDz?.open()"
>
{{ t("common.upload") }}
</RBtn>
</div>
</header>
<RDropzone
v-if="!rom.has_soundtrack"
:title="t('rom.soundtrack-empty')"

View File

@@ -407,6 +407,7 @@ function close() {
</div>
<RBtn
block
variant="text"
size="small"
:prepend-icon="