From 832aeaea655a6d0ed4229c4ffa2a6c61148bb8ae Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Wed, 3 Oct 2018 11:03:00 +0900 Subject: [PATCH] Use true/false value for checkbox value Because Fluentd's config parser can handle "true/false" and "yes/no" only. Signed-off-by: Kenji Okimoto --- app/javascript/packs/store/modules/parser_params.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/packs/store/modules/parser_params.js b/app/javascript/packs/store/modules/parser_params.js index 6ced895..f3dd931 100644 --- a/app/javascript/packs/store/modules/parser_params.js +++ b/app/javascript/packs/store/modules/parser_params.js @@ -42,7 +42,7 @@ const actions = { commit("setRfc5424TimeFormat", event.target.value); }, updateWithPriority({ commit, state }, event) { - commit("setWithPriority", event.target.value); + commit("setWithPriority", event.target.checked); } };