diff options
author | bobzel <zzzman@gmail.com> | 2023-11-16 21:34:46 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-11-16 21:34:46 -0500 |
commit | 82ef5f0f62031f5744172a40cb59db7ba81bfc8a (patch) | |
tree | 64efaeef529c30a3c46b095066988fabb500da4b /src | |
parent | 51e508e8e4bdd9fe3b33fc3888dbea7d92f8914f (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/PropertiesView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index b7f84309e..1b9b26111 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -120,7 +120,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { return this.selectedDoc?.type === DocumentType.INK; } @computed get isGroup() { - return this.selectedDoc.isGroup; + return this.selectedDoc?.isGroup; } @computed get isStack() { return [CollectionViewType.Stacking, CollectionViewType.NoteTaking].includes(this.selectedDoc?.type_collection as any); |