From fb4ad82389f52838787c8179e6636428c3dc3185 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 22 Sep 2020 10:54:11 -0400 Subject: made filters apply to links. automatically removes links that have a missing endpoint unless you own them. --- src/client/views/nodes/DocumentLinksButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views') diff --git a/src/client/views/nodes/DocumentLinksButton.tsx b/src/client/views/nodes/DocumentLinksButton.tsx index ab6cae0ad..0cb5b94f4 100644 --- a/src/client/views/nodes/DocumentLinksButton.tsx +++ b/src/client/views/nodes/DocumentLinksButton.tsx @@ -220,7 +220,7 @@ export class DocumentLinksButton extends React.Component(this.props.links); + const links = DocUtils.FilterDocs(Array.from(new Set(this.props.links)), this.props.View.props.docFilters(), []); const menuTitle = this.props.StartLink ? "Drag or tap to start link" : "Tap to complete link"; const buttonTitle = "Tap to view links"; -- cgit v1.2.3-70-g09d2