fix(front): show channel dropdown in channel upload form only if more than one channel exists
This commit is contained in:
parent
c46ce37206
commit
ab6e295724
|
@ -514,7 +514,7 @@ const createEmptyChannel = async () => {
|
||||||
{{ t('components.channels.UploadForm.label.channel') }}: {{ selectedChannel?.artist.name }}
|
{{ t('components.channels.UploadForm.label.channel') }}: {{ selectedChannel?.artist.name }}
|
||||||
</label>
|
</label>
|
||||||
<select
|
<select
|
||||||
v-if="availableChannels.count >= 1"
|
v-if="availableChannels.count > 1"
|
||||||
id="channel-dropdown"
|
id="channel-dropdown"
|
||||||
>
|
>
|
||||||
<option v-for="channel in availableChannels.channels" :value="channel.uuid">
|
<option v-for="channel in availableChannels.channels" :value="channel.uuid">
|
||||||
|
|
Loading…
Reference in New Issue