mirror of
https://github.com/directus/directus.git
synced 2026-01-26 08:18:10 -05:00
Fix no options notice for empty options array
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</v-notice>
|
||||
|
||||
<template v-if="fieldData.meta.display && selectedDisplay">
|
||||
<v-notice v-if="!selectedDisplay.options">
|
||||
<v-notice v-if="!selectedDisplay.options || selectedDisplay.options.length === 0">
|
||||
{{ $t('no_options_available') }}
|
||||
</v-notice>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</v-notice>
|
||||
|
||||
<template v-if="fieldData.meta.interface && selectedInterface">
|
||||
<v-notice v-if="!selectedInterface.options">
|
||||
<v-notice v-if="!selectedInterface.options || selectedInterface.options.length === 0">
|
||||
{{ $t('no_options_available') }}
|
||||
</v-notice>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user