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.js index 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"; }