A platform for community discussion. Free, open, simple.
DEV: Remove unused code (#26556)
Jarek Radosz8080ced95bd8
diff --git a/app/assets/javascripts/discourse/app/components/modal/sidebar-section-form.js b/app/assets/javascripts/discourse/app/components/modal/sidebar-section-form.jsindex 78aad30eb9f..a91f4a2b4a2 100644--- a/app/assets/javascripts/discourse/app/components/modal/sidebar-section-form.js+++ b/app/assets/javascripts/discourse/app/components/modal/sidebar-section-form.js@@ -166,17 +166,6 @@ class SectionLink {return this.value === undefined || this.validValue ? "" : "warning";}- get external() {- return (- this.value &&- !(- this.value.startsWith(this.httpHost) ||- this.value.startsWith(this.httpsHost) ||- this.value.startsWith("/")- )- );- }-get isPrimary() {return this.segment === "primary";}