Fix property order to meet linting rules
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I4436cc0d5dc5da934a4bf1b0679a91ab3854a9c6
diff --git a/src/env/components/FirmwareSingleImage/FirmwareSingleImage.vue b/src/env/components/FirmwareSingleImage/FirmwareSingleImage.vue
index 03f5af4..92c4e80 100644
--- a/src/env/components/FirmwareSingleImage/FirmwareSingleImage.vue
+++ b/src/env/components/FirmwareSingleImage/FirmwareSingleImage.vue
@@ -229,6 +229,11 @@
PageTitle,
},
mixins: [BVToastMixin, LoadingBarMixin, VuelidateMixin],
+ beforeRouteLeave(to, from, next) {
+ this.hideLoader();
+ this.clearRebootTimeout();
+ next();
+ },
data() {
return {
isWorkstationSelected: true,
@@ -274,11 +279,6 @@
this.$store.dispatch('firmwareSingleImage/getFirmwareInformation'),
]).finally(() => this.endLoader());
},
- beforeRouteLeave(to, from, next) {
- this.hideLoader();
- this.clearRebootTimeout();
- next();
- },
validations() {
return {
file: {