mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 06:06:05 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -14,7 +14,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
row() {
|
||||
return this.rows.find(r => r.id === this.value);
|
||||
return this.rows.find((r) => r.id === this.value);
|
||||
},
|
||||
cpuManagerStatus() {
|
||||
if (this.row?.isCPUManagerEnableInProgress) {
|
||||
@@ -28,10 +28,16 @@ export default {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span v-if="row?.isCPUManagerEnableInProgress" v-clean-tooltip="cpuManagerStatus">
|
||||
<span
|
||||
v-if="row?.isCPUManagerEnableInProgress"
|
||||
v-clean-tooltip="cpuManagerStatus"
|
||||
>
|
||||
<i class="icon icon-spinner icon-spin" />
|
||||
</span>
|
||||
<span v-else-if="row?.isCPUManagerEnabled" v-clean-tooltip="cpuManagerStatus">
|
||||
<span
|
||||
v-else-if="row?.isCPUManagerEnabled"
|
||||
v-clean-tooltip="cpuManagerStatus"
|
||||
>
|
||||
<i class="icon icon-checkmark" />
|
||||
</span>
|
||||
<span
|
||||
|
||||
Reference in New Issue
Block a user