# HG changeset patch # User drewp@bigasterisk.com # Date 2022-05-31 06:18:58 # Node ID cb755686924473cc041655983acaa2fa1ce50624 # Parent bbd6816d9e9e1c1413a63821f22ea0d296b25c85 ResourceDisplay ignore more patches diff --git a/light9/web/ResourceDisplay.ts b/light9/web/ResourceDisplay.ts --- a/light9/web/ResourceDisplay.ts +++ b/light9/web/ResourceDisplay.ts @@ -115,10 +115,15 @@ export class ResourceDisplay extends Lit } runUriHandler() { + this.graph.runHandler(this.onUri.bind(this), `rdisplay ${this.href()}` /*needs uniqueness?*/); } onUri(patch?: Patch) { + if (patch && !patchContainsPreds(patch, [this.graph.Uri("rdfs:label")])) { + return; + } + if (!this.uri) { this.label = ""; return;