mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-06 14:16:05 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -29,7 +29,7 @@ export default {
|
||||
|
||||
const configSchema = this.$store.getters[`${ inStore }/schemaFor`](CONFIG_MAP);
|
||||
|
||||
if (!configSchema?.collectionMethods.find(x => x.toLowerCase() === 'post')) {
|
||||
if (!configSchema?.collectionMethods.find((x) => x.toLowerCase() === 'post')) {
|
||||
this.$store.dispatch('type-map/configureType', { match: HCI.CLOUD_TEMPLATE, isCreatable: false });
|
||||
}
|
||||
},
|
||||
@@ -54,7 +54,7 @@ export default {
|
||||
},
|
||||
|
||||
filteredRows() {
|
||||
return this.rows.filter(r => !!r.metadata?.labels?.[HCI_ANNOTATIONS.CLOUD_INIT]);
|
||||
return this.rows.filter((r) => !!r.metadata?.labels?.[HCI_ANNOTATIONS.CLOUD_INIT]);
|
||||
},
|
||||
|
||||
schema() {
|
||||
@@ -78,6 +78,5 @@ export default {
|
||||
:schema="schema"
|
||||
:rows="filteredRows"
|
||||
key-field="_key"
|
||||
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user