Skip to content

Commit fa8d7b0

Browse files
committed
switch variables from var to const
1 parent 6668127 commit fa8d7b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/view/StatsTab.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ export default {
423423
this.showResourceInfoModal = true
424424
},
425425
updateVirtualMachineStats () {
426-
var end = this.getEndDate()
427-
var start = this.getStartDate()
426+
const start = this.getStartDate()
427+
const end = this.getEndDate()
428428
this.handleSubmit({ startDate: start, endDate: end })
429429
},
430430
handleSubmit (values) {

0 commit comments

Comments
 (0)