Skip to content
Snippets Groups Projects
Commit 9d4709c4 authored by Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt
Browse files

Remove unused computed property

parent f76abf79
No related branches found
No related tags found
1 merge request!62134Simplify network policy sidebar
......@@ -51,14 +51,6 @@ export default {
return this.policiesWithDefaults.find((policy) => policy.name === this.selectedPolicyName);
},
hasPolicyChanges() {
if (!this.hasSelectedPolicy) return false;
return (
this.selectedPolicy.manifest !== this.initialManifest ||
this.selectedPolicy.isEnabled !== this.initialEnforcementStatus
);
},
hasAutoDevopsPolicy() {
return this.policiesWithDefaults.some((policy) => policy.isAutodevops);
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment