diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-05-07 19:18:52 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-05-07 19:18:52 -0400 |
| commit | fcd0895e5933270718b9c1a262e7e377eaabb024 (patch) | |
| tree | ff2c228814674e5aa7f88be8501863b6eb85b232 /src/client/views/TemplateMenu.tsx | |
| parent | 34db0a78d2dc8989313decf8993691f40847b231 (diff) | |
fixed most add/remove/move documents to support doc[]'s
Diffstat (limited to 'src/client/views/TemplateMenu.tsx')
| -rw-r--r-- | src/client/views/TemplateMenu.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/TemplateMenu.tsx b/src/client/views/TemplateMenu.tsx index 665ab4e41..5f300372f 100644 --- a/src/client/views/TemplateMenu.tsx +++ b/src/client/views/TemplateMenu.tsx @@ -158,9 +158,9 @@ export class TemplateMenu extends React.Component<TemplateMenuProps> { annotationsKey={""} dontRegisterView={true} fieldKey={"data"} - moveDocument={(doc: Doc) => false} - removeDocument={(doc: Doc) => false} - addDocument={(doc: Doc) => false} /> + moveDocument={returnFalse} + removeDocument={returnFalse} + addDocument={returnFalse} /> </ul>; } } |
