mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 01:07:09 +02:00
Use const
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
1d3d4eaebe
commit
f0e96ca000
@ -24,7 +24,7 @@ $(document).ready(() => {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
addGrepContainer: function(containerType, index) {
|
addGrepContainer: function(containerType, index) {
|
||||||
let found = this.containers[containerType].indexOf(false);
|
const found = this.containers[containerType].indexOf(false);
|
||||||
if (found < 0) {
|
if (found < 0) {
|
||||||
this.$set(this.containers[containerType], this.containers[containerType].length, true);
|
this.$set(this.containers[containerType], this.containers[containerType].length, true);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user