mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 22:26:05 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -37,7 +37,7 @@ export default {
|
||||
};
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
if (this.timer) {
|
||||
clearTimeout(this.timer);
|
||||
}
|
||||
@@ -122,8 +122,15 @@ export default {
|
||||
|
||||
<template>
|
||||
<span>
|
||||
<HarvesterMigrationState v-show="isMigrating" :vm-resource="row" @state-changed="migrationStateChanged" />
|
||||
<div v-show="!isMigrating" class="state">
|
||||
<HarvesterMigrationState
|
||||
v-show="isMigrating"
|
||||
:vm-resource="row"
|
||||
@state-changed="migrationStateChanged"
|
||||
/>
|
||||
<div
|
||||
v-show="!isMigrating"
|
||||
class="state"
|
||||
>
|
||||
<VMState :row="row" />
|
||||
<v-dropdown
|
||||
v-if="warningMessage.length"
|
||||
@@ -144,7 +151,10 @@ export default {
|
||||
@mouseenter="showMessage(true)"
|
||||
@mouseleave="showMessage(false)"
|
||||
>
|
||||
<p v-for="(message, index) in warningMessage" :key="index">
|
||||
<p
|
||||
v-for="(message, index) in warningMessage"
|
||||
:key="index"
|
||||
>
|
||||
{{ index + 1 }}.
|
||||
<a
|
||||
v-if="canMiss(row, message)"
|
||||
|
||||
Reference in New Issue
Block a user