mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 21:26:08 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -15,8 +15,8 @@ const schema = {
|
||||
};
|
||||
|
||||
export default {
|
||||
name: 'HarvesterSecret',
|
||||
components: { ResourceTable, Loading },
|
||||
name: 'HarvesterSecret',
|
||||
components: { ResourceTable, Loading },
|
||||
inheritAttrs: false,
|
||||
|
||||
async fetch() {
|
||||
@@ -26,7 +26,7 @@ export default {
|
||||
|
||||
const configSchema = this.$store.getters[`${ inStore }/schemaFor`](SECRET);
|
||||
|
||||
if (!configSchema?.collectionMethods.find(x => x.toLowerCase() === 'post')) {
|
||||
if (!configSchema?.collectionMethods.find((x) => x.toLowerCase() === 'post')) {
|
||||
this.$store.dispatch('type-map/configureType', { match: HCI.SECRET, isCreatable: false });
|
||||
}
|
||||
},
|
||||
@@ -56,6 +56,5 @@ export default {
|
||||
:schema="schema"
|
||||
:rows="rows"
|
||||
key-field="_key"
|
||||
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user