Check null

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-09-12 18:26:41 +09:00
parent ec49ae6c46
commit f6ca93021b
No known key found for this signature in database
GPG Key ID: F9E3E329A5C5E4A1

View File

@ -68,7 +68,7 @@
"v-bind:initial-arg" => "source.arg"}
.col-xl-4.filter
%h5 {{ label }}
%div{"v-if" => "loaded && elements.filters.length == 0"}
%div{"v-if" => "loaded && !elements.filters || elements.filters.length == 0"}
%p.empty= t('.setting_empty')
%setting-section{"v-if" => "loaded && elements.filters.length > 0",
"v-for" => "filter in elements.filters",
@ -81,7 +81,7 @@
.col-xl-4.output
%h5 {{ label }}
%div{"v-if" => "loaded && elements.matches.length == 0"}
%div{"v-if" => "loaded && !elements.matches || elements.matches.length == 0"}
%p.empty= t('.setting_empty')
%setting-section{"v-if" => "loaded && elements.matches.length > 0",
"v-for" => "match in elements.matches",