mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 16:57:11 +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: {
|
||||
addGrepContainer: function(containerType, index) {
|
||||
let found = this.containers[containerType].indexOf(false);
|
||||
const found = this.containers[containerType].indexOf(false);
|
||||
if (found < 0) {
|
||||
this.$set(this.containers[containerType], this.containers[containerType].length, true);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user