Fix no options notice for empty options array

This commit is contained in:
rijkvanzanten
2020-09-08 10:38:57 -04:00
parent 2d5928da77
commit 3d476139f3
2 changed files with 2 additions and 2 deletions

View File

@@ -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>

View File

@@ -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>