parent
e34da15b55
commit
8080ced95b
|
@ -166,17 +166,6 @@ class SectionLink {
|
||||||
return this.value === undefined || this.validValue ? "" : "warning";
|
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() {
|
get isPrimary() {
|
||||||
return this.segment === "primary";
|
return this.segment === "primary";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue