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
@@ -34,7 +34,7 @@ export default {
const storageSchema = this.$store.getters[`${ inStore }/schemaFor`](STORAGE_CLASS);
if ( storageSchema && !storageSchema?.collectionMethods.find(x => ['blocked-post', 'post'].includes(x.toLowerCase())) ) {
if ( storageSchema && !storageSchema?.collectionMethods.find((x) => ['blocked-post', 'post'].includes(x.toLowerCase())) ) {
this.$store.dispatch('type-map/configureType', { match: HCI.STORAGE, isCreatable: false });
}
},
@@ -49,7 +49,7 @@ export default {
const storages = this.$store.getters[`${ inStore }/all`](STORAGE_CLASS);
return storages.filter(s => !s.parameters?.backingImage);
return storages.filter((s) => !s.parameters?.backingImage);
},
headers() {