diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-08-06 17:18:34 +0530 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-08-06 17:18:34 +0530 |
commit | 988a16c4b69d1d5062bccf70295aa90c490f9e76 (patch) | |
tree | 7d515b9b4605490307e039726d6d12bbde2e3d0f /src/client/views/nodes/DocumentView.tsx | |
parent | 2b8fd3bbc922fdb9b82ed5cabe6308b37077fb9e (diff) |
a bunch of commented stuff in propertiesview that is to be used for adding in the sharing panel customisation buttons
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 60075d5cf..46eabf15a 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -571,6 +571,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu alert("Can't delete the active workspace"); } else { SelectionManager.DeselectAll(); + this.props.Document.deleted = true; this.props.removeDocument?.(this.props.Document); } } |