mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-12 22:36:11 +02:00
Preview on change plugin name
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
c0c0b74624
commit
303ebed383
@ -62,8 +62,9 @@ $(document).ready(() => {
|
||||
methods: {
|
||||
onChangePluginName: function(name) {
|
||||
console.log("#in-tail-parse onChangePluginName", name);
|
||||
this.parseType = name;
|
||||
this.updateHighlightedLines([]);
|
||||
this.parse = {}; // clear parser plugin configuration
|
||||
this.onChangeParseConfig();
|
||||
},
|
||||
onChangeParseConfig: function(data) {
|
||||
console.log("#in-tail-parse onChangeParseConfig", store.getters["parserParams/toParams"]);
|
||||
|
||||
@ -63,6 +63,7 @@ const ParserPluginForm = {
|
||||
methods: {
|
||||
onChange: function(event) {
|
||||
store.dispatch("parserParams/updateType", event);
|
||||
this.$emit("change-plugin-name", event.target.value);
|
||||
this.updateSection();
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user