diff options
author | bobzel <zzzman@gmail.com> | 2021-03-14 12:41:17 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-14 12:41:17 -0400 |
commit | 5fe63360364cd85b33ca797c0152f831cbbb0104 (patch) | |
tree | a49e1bb7672f3cd889cd867e18a44089af6d6e37 /src/client/views/nodes/PDFBox.tsx | |
parent | c5ea9a228d97974250194cbe41e0f356c3c3906f (diff) |
fixed warnings from missing keys. change file orphans to Unfiled
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r-- | src/client/views/nodes/PDFBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx index a474293e6..d4fc0c103 100644 --- a/src/client/views/nodes/PDFBox.tsx +++ b/src/client/views/nodes/PDFBox.tsx @@ -143,7 +143,7 @@ export class PDFBox extends ViewBoxAnnotatableComponent<FieldViewProps, PdfDocum } renderTag = (tag: string) => { const active = StrListCast(this.rootDoc[this.sidebarKey() + "-docFilters"]).includes(`${tag}:${tag}:check`); - return <div className={`pdfbox-filterTag${active ? "-active" : ""}`} + return <div key={tag} className={`pdfbox-filterTag${active ? "-active" : ""}`} onClick={e => Doc.setDocFilter(this.rootDoc, tag, tag, "check", true, this.sidebarKey())}> {tag} </div>; |