mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 10:56:11 +02:00
Set label
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
d86ff4364b
commit
3bf166387c
@ -7,6 +7,7 @@ $(document).ready(() => {
|
||||
const SettingSection = {
|
||||
template: "#vue-setting-section",
|
||||
props: [
|
||||
"label",
|
||||
"initialId",
|
||||
"initialContent",
|
||||
"initialType",
|
||||
|
||||
@ -61,6 +61,7 @@
|
||||
%setting-section{"v-if" => "loaded && elements.sources && elements.sources.length > 0",
|
||||
"v-for" => "source in elements.sources",
|
||||
"v-bind:key" => "source.id",
|
||||
"v-bind:label" => "source.current_label",
|
||||
"v-bind:initial-id" => "source.id",
|
||||
"v-bind:initial-content" => "source.content",
|
||||
"v-bind:initial-type" => "source.type",
|
||||
@ -73,6 +74,7 @@
|
||||
%setting-section{"v-if" => "loaded && elements.filters.length > 0",
|
||||
"v-for" => "filter in elements.filters",
|
||||
"v-bind:key" => "filter.id",
|
||||
"v-bind:label" => "filter.current_label",
|
||||
"v-bind:initial-id" => "filter.id",
|
||||
"v-bind:initial-content" => "filter.content",
|
||||
"v-bind:initial-type" => "filter.type",
|
||||
@ -86,6 +88,7 @@
|
||||
%setting-section{"v-if" => "loaded && elements.matches.length > 0",
|
||||
"v-for" => "match in elements.matches",
|
||||
"v-bind:key" => "match.id",
|
||||
"v-bind:label" => "match.current_label",
|
||||
"v-bind:initial-id" => "match.id",
|
||||
"v-bind:initial-content" => "match.content",
|
||||
"v-bind:initial-type" => "match.type",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user