mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-05 05:36:05 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user