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
@@ -21,7 +21,7 @@ import { Banner } from '@components/Banner';
export default {
emits: ['update:value'],
components: {
ContainerResourceLimit, CruResource, Labels, LabeledSelect, NameNsDescription, ProjectMembershipEditor, ResourceQuota, Tabbed, Tab, Banner
},
@@ -114,7 +114,7 @@ export default {
const cur = this.value.status?.podSecurityPolicyTemplateId;
if ( cur && !out.find(x => x.value === cur) ) {
if ( cur && !out.find((x) => x.value === cur) ) {
out.unshift({ label: this.t('project.psp.current', { value: cur }), value: cur });
}
@@ -219,7 +219,6 @@ export default {
>
<NameNsDescription
:value="value"
@update:value="$emit('update:value', $event)"
:name-editable="true"
:mode="mode"
:namespaced="false"
@@ -228,6 +227,7 @@ export default {
name-key="spec.displayName"
:normalize-name="false"
:rules="{ name: fvGetAndReportPathRules('spec.displayName'), namespace: [], description: [] }"
@update:value="$emit('update:value', $event)"
/>
<div class="row mb-20">
<div class="col span-3">