Added computed metadata check to UI dropdown

This commit is contained in:
Kieran Eglin 2023-11-20 09:18:50 -08:00
parent 3cc900ffbf
commit 8c434703fb
No known key found for this signature in database
GPG Key ID: 193984967FCF432D

View File

@ -18,7 +18,7 @@
<ui-toggle-switch v-model="fetchMetadata.enabled" />
<p class="pl-4 text-base">{{ $strings.LabelAutoFetchMetadata }}</p>
<div class="flex-grow ml-4">
<ui-dropdown v-model="fetchMetadata.provider" :items="providers" :label="$strings.LabelProvider" :disabled="!fetchMetadata.enabled" />
<ui-dropdown v-model="fetchMetadata.provider" :items="providers" :label="$strings.LabelProvider" :disabled="!canFetchMetadata" />
</div>
</div>