diff options
author | bobzel <zzzman@gmail.com> | 2023-12-16 19:22:54 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-12-16 19:22:54 -0500 |
commit | cb4d40e8fa24cd1b7f2d945af5f18e5cb904e8de (patch) | |
tree | 3a8c9c3aeb7b1ff3aa8f1b2f05f757f84dbe84c2 /src | |
parent | 5c255f655bf8a8ab8d9a7522b3c80f66aa24a5a2 (diff) |
fixed props refernece
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index 03f9ed52f..f0887676f 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -316,7 +316,7 @@ export class DocumentButtonBar extends ObservableReactComponent<{ views: () => ( @computed get calendarButton() { - const targetDoc = this.view0?.props.Document; + const targetDoc = this.view0?.Document; return !targetDoc ? null : ( <Tooltip title={<div className="dash-calendar-button">Open calendar menu</div>}> <div |