mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-07 22:56:07 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -35,7 +35,7 @@ export default {
|
||||
|
||||
const schema = this.$store.getters[`${ inStore }/schemaFor`](HCI.BACKUP);
|
||||
|
||||
if (!schema?.collectionMethods.find(x => x.toLowerCase() === 'post')) {
|
||||
if (!schema?.collectionMethods.find((x) => x.toLowerCase() === 'post')) {
|
||||
this.$store.dispatch('type-map/configureType', { match: HCI.VM_SNAPSHOT, isCreatable: false });
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ export default {
|
||||
},
|
||||
|
||||
getRawRows() {
|
||||
return this.rows.filter(r => r.spec?.type === BACKUP_TYPE.SNAPSHOT);
|
||||
return this.rows.filter((r) => r.spec?.type === BACKUP_TYPE.SNAPSHOT);
|
||||
},
|
||||
|
||||
schema() {
|
||||
@@ -102,7 +102,7 @@ export default {
|
||||
},
|
||||
|
||||
filteredRows() {
|
||||
return this.snapshots.filter(r => r.spec?.type !== BACKUP_TYPE.BACKUP);
|
||||
return this.snapshots.filter((r) => r.spec?.type !== BACKUP_TYPE.BACKUP);
|
||||
},
|
||||
},
|
||||
|
||||
@@ -141,7 +141,6 @@ export default {
|
||||
:sort-generation-fn="sortGenerationFn"
|
||||
key-field="_key"
|
||||
default-sort-by="age"
|
||||
|
||||
>
|
||||
<template #more-header-middle>
|
||||
<FilterVMSchedule
|
||||
|
||||
Reference in New Issue
Block a user