diff --git a/frontend/src/lib/k8s/KubeObject.ts b/frontend/src/lib/k8s/KubeObject.ts index 383870b6cb..b0d084688f 100644 --- a/frontend/src/lib/k8s/KubeObject.ts +++ b/frontend/src/lib/k8s/KubeObject.ts @@ -529,13 +529,13 @@ export class KubeObject { // it may already have the details from the instance's API version. const attrs = { ...resourceAttrs }; - if (!!attrs.resource) { + if (!attrs.resource) { attrs.resource = resource; } - if (!!attrs.group) { + if (!attrs.group) { attrs.group = group; } - if (!!attrs.version) { + if (!attrs.version) { attrs.version = version; }