Lint fixes

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-11-12 11:50:20 +01:00
parent 19b11aac2c
commit 4626d56acd
214 changed files with 3162 additions and 1298 deletions
@@ -50,7 +50,7 @@ export default {
this.rows = hash.rows;
this.loggingAddon = hash.loggingAddon;
this.$store.dispatch('type-map/configureType', { match: HCI.FLOW, isCreatable: this.listSchema && this.listSchema?.collectionMethods.find(x => x.toLowerCase() === 'post') });
this.$store.dispatch('type-map/configureType', { match: HCI.FLOW, isCreatable: this.listSchema && this.listSchema?.collectionMethods.find((x) => x.toLowerCase() === 'post') });
},
data() {
@@ -82,7 +82,10 @@ export default {
<template>
<Loading v-if="$fetchState.pending" />
<div v-else-if="listSchema">
<Banner v-if="loggingEnabled === false" color="info">
<Banner
v-if="loggingEnabled === false"
color="info"
>
<MessageLink
:to="to"
prefix-label="harvester.logging.diabledTips.prefix"
@@ -91,9 +94,17 @@ export default {
/>
</Banner>
<ResourceTable :schema="schema" :rows="rows" :ignore-filter="true" :groupable="false" />
<ResourceTable
:schema="schema"
:rows="rows"
:ignore-filter="true"
:groupable="false"
/>
</div>
<Banner v-else color="warning">
<Banner
v-else
color="warning"
>
{{ t('harvester.generic.noSchema', {schema: schema.id}) }}
</Banner>
</template>