mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-08 07:06:05 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -125,9 +125,9 @@ export default {
|
||||
},
|
||||
|
||||
abnormalNetwork() {
|
||||
const notReadyCrd = this.hostNetworks.filter( O => !O.isReady);
|
||||
const notReadyCrd = this.hostNetworks.filter( (O) => !O.isReady);
|
||||
|
||||
return notReadyCrd.map( O => O.linkMessage);
|
||||
return notReadyCrd.map( (O) => O.linkMessage);
|
||||
},
|
||||
|
||||
filterRows() {
|
||||
@@ -148,7 +148,9 @@ export default {
|
||||
<div v-else>
|
||||
<template v-if="abnormalNetwork.length">
|
||||
<Banner
|
||||
v-for="(item, i) in abnormalNetwork" :key="i" color="error"
|
||||
v-for="(item, i) in abnormalNetwork"
|
||||
:key="i"
|
||||
color="error"
|
||||
>
|
||||
<router-link :to="item.to">
|
||||
{{ item.name }}:
|
||||
@@ -165,7 +167,6 @@ export default {
|
||||
:groupable="true"
|
||||
:rows="filterRows"
|
||||
key-field="_key"
|
||||
|
||||
>
|
||||
<template #cell:state="{row}">
|
||||
<div class="state">
|
||||
|
||||
Reference in New Issue
Block a user