summaryrefslogtreecommitdiff
path: root/src/views/Operations
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/Operations')
-rw-r--r--src/views/Operations/FactoryReset/FactoryResetModal.vue2
-rw-r--r--src/views/Operations/Firmware/FirmwareCardsBmc.vue2
-rw-r--r--src/views/Operations/Kvm/KvmConsole.vue4
-rw-r--r--src/views/Operations/SerialOverLan/SerialOverLanConsole.vue4
-rw-r--r--src/views/Operations/ServerPowerOperations/BootSettings.vue2
-rw-r--r--src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue11
-rw-r--r--src/views/Operations/VirtualMedia/VirtualMedia.vue12
7 files changed, 18 insertions, 19 deletions
diff --git a/src/views/Operations/FactoryReset/FactoryResetModal.vue b/src/views/Operations/FactoryReset/FactoryResetModal.vue
index 170bf284..55ac1761 100644
--- a/src/views/Operations/FactoryReset/FactoryResetModal.vue
+++ b/src/views/Operations/FactoryReset/FactoryResetModal.vue
@@ -12,7 +12,7 @@
<ul class="pl-3 mb-4">
<li
v-for="(item, index) in $t(
- `pageFactoryReset.modal.${resetType}SettingsList`
+ `pageFactoryReset.modal.${resetType}SettingsList`,
)"
:key="index"
class="mt-1 mb-1"
diff --git a/src/views/Operations/Firmware/FirmwareCardsBmc.vue b/src/views/Operations/Firmware/FirmwareCardsBmc.vue
index 8fb31aa6..bfca14cf 100644
--- a/src/views/Operations/Firmware/FirmwareCardsBmc.vue
+++ b/src/views/Operations/Firmware/FirmwareCardsBmc.vue
@@ -128,7 +128,7 @@ export default {
.then(() =>
this.infoToast(this.$t('pageFirmware.toast.rebootStartedMessage'), {
title: this.$t('pageFirmware.toast.rebootStarted'),
- })
+ }),
)
.catch(({ message }) => {
this.errorToast(message);
diff --git a/src/views/Operations/Kvm/KvmConsole.vue b/src/views/Operations/Kvm/KvmConsole.vue
index 8483c4f3..62dd47ad 100644
--- a/src/views/Operations/Kvm/KvmConsole.vue
+++ b/src/views/Operations/Kvm/KvmConsole.vue
@@ -112,7 +112,7 @@ export default {
this.rfb = new RFB(
this.$refs.panel,
`wss://${window.location.host}/kvm/0`,
- { wsProtocols: [token] }
+ { wsProtocols: [token] },
);
this.rfb.scaleViewport = true;
@@ -166,7 +166,7 @@ export default {
this.$eventBus.$consoleWindow = window.open(
'#/console/kvm',
'kvmConsoleWindow',
- 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=700,height=550'
+ 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=700,height=550',
);
},
},
diff --git a/src/views/Operations/SerialOverLan/SerialOverLanConsole.vue b/src/views/Operations/SerialOverLan/SerialOverLanConsole.vue
index fc807393..ca81385e 100644
--- a/src/views/Operations/SerialOverLan/SerialOverLanConsole.vue
+++ b/src/views/Operations/SerialOverLan/SerialOverLanConsole.vue
@@ -135,7 +135,7 @@ export default {
'websocket console/default closed. code: ' +
event.code +
' reason: ' +
- event.reason
+ event.reason,
);
};
} catch (error) {
@@ -153,7 +153,7 @@ export default {
window.open(
'#/console/serial-over-lan-console',
'_blank',
- 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=600,height=550'
+ 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=600,height=550',
);
},
},
diff --git a/src/views/Operations/ServerPowerOperations/BootSettings.vue b/src/views/Operations/ServerPowerOperations/BootSettings.vue
index 4896286b..c74fd01f 100644
--- a/src/views/Operations/ServerPowerOperations/BootSettings.vue
+++ b/src/views/Operations/ServerPowerOperations/BootSettings.vue
@@ -98,7 +98,7 @@ export default {
this.$store
.dispatch('serverBootSettings/getTpmPolicy')
.finally(() =>
- this.$root.$emit('server-power-operations-boot-settings-complete')
+ this.$root.$emit('server-power-operations-boot-settings-complete'),
);
},
methods: {
diff --git a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue
index ba9ebced..e3864b4a 100644
--- a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue
+++ b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue
@@ -189,9 +189,8 @@ export default {
return this.$store.getters['serverBootSettings/overrideEnabled'];
},
hasBootSourceOptions() {
- let bootOptions = this.$store.getters[
- 'serverBootSettings/bootSourceOptions'
- ];
+ let bootOptions =
+ this.$store.getters['serverBootSettings/bootSourceOptions'];
return bootOptions.length !== 0;
},
},
@@ -199,7 +198,7 @@ export default {
this.startLoader();
const bootSettingsPromise = new Promise((resolve) => {
this.$root.$on('server-power-operations-boot-settings-complete', () =>
- resolve()
+ resolve(),
);
});
Promise.all([
@@ -214,7 +213,7 @@ export default {
},
rebootServer() {
const modalMessage = this.$t(
- 'pageServerPowerOperations.modal.confirmRebootMessage'
+ 'pageServerPowerOperations.modal.confirmRebootMessage',
);
const modalOptions = {
title: this.$t('pageServerPowerOperations.modal.confirmRebootTitle'),
@@ -238,7 +237,7 @@ export default {
},
shutdownServer() {
const modalMessage = this.$t(
- 'pageServerPowerOperations.modal.confirmShutdownMessage'
+ 'pageServerPowerOperations.modal.confirmShutdownMessage',
);
const modalOptions = {
title: this.$t('pageServerPowerOperations.modal.confirmShutdownTitle'),
diff --git a/src/views/Operations/VirtualMedia/VirtualMedia.vue b/src/views/Operations/VirtualMedia/VirtualMedia.vue
index 80dff5b0..9ad1b1eb 100644
--- a/src/views/Operations/VirtualMedia/VirtualMedia.vue
+++ b/src/views/Operations/VirtualMedia/VirtualMedia.vue
@@ -141,7 +141,7 @@ export default {
`wss://${window.location.host}${device.websocket}`,
device.file,
device.id,
- token
+ token,
);
device.nbd.socketStarted = () =>
this.successToast(this.$t('pageVirtualMedia.toast.serverRunning'));
@@ -150,11 +150,11 @@ export default {
device.nbd.socketClosed = (code) => {
if (code === 1000)
this.successToast(
- this.$t('pageVirtualMedia.toast.serverClosedSuccessfully')
+ this.$t('pageVirtualMedia.toast.serverClosedSuccessfully'),
);
else
this.errorToast(
- this.$t('pageVirtualMedia.toast.serverClosedWithErrors')
+ this.$t('pageVirtualMedia.toast.serverClosedWithErrors'),
);
device.file = null;
device.isActive = false;
@@ -180,7 +180,7 @@ export default {
})
.then(() => {
this.successToast(
- this.$t('pageVirtualMedia.toast.serverConnectionEstablished')
+ this.$t('pageVirtualMedia.toast.serverConnectionEstablished'),
);
connectionData.isActive = true;
})
@@ -195,12 +195,12 @@ export default {
.dispatch('virtualMedia/unmountImage', connectionData.id)
.then(() => {
this.successToast(
- this.$t('pageVirtualMedia.toast.serverClosedSuccessfully')
+ this.$t('pageVirtualMedia.toast.serverClosedSuccessfully'),
);
connectionData.isActive = false;
})
.catch(() =>
- this.errorToast(this.$t('pageVirtualMedia.toast.errorUnmounting'))
+ this.errorToast(this.$t('pageVirtualMedia.toast.errorUnmounting')),
)
.finally(() => this.endLoader());
},