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
@@ -12,7 +12,7 @@ import { HCI } from '@pkg/harvester/config/labels-annotations';
export default {
emits: ['input'],
components: {
ResourceTabs,
Tab,
@@ -64,7 +64,7 @@ export default {
if (!isEmpty(selector)) {
return matching(nodes, selector);
} else if (matchedNodes && matchedNodes.length > 0) {
return nodes.filter(node => matchedNodes.includes(node.id));
return nodes.filter((node) => matchedNodes.includes(node.id));
} else {
return nodes;
}
@@ -76,8 +76,8 @@ export default {
<template>
<ResourceTabs
:value="value"
@update:value="$emit('input', $event)"
:need-related="false"
@update:value="$emit('input', $event)"
>
<Tab
name="node"