mirror of
https://github.com/rommapp/romm.git
synced 2026-12-06 07:54:18 +01:00
Hotfix upload buttons in media tabs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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')"
|
||||
|
||||
@@ -407,6 +407,7 @@ function close() {
|
||||
</div>
|
||||
|
||||
<RBtn
|
||||
block
|
||||
variant="text"
|
||||
size="small"
|
||||
:prepend-icon="
|
||||
|
||||
Reference in New Issue
Block a user