aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PresBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-10-25 18:27:06 -0400
committerbobzel <zzzman@gmail.com>2020-10-25 18:27:06 -0400
commit14d6fa20b47ff49a199fc8c181de6857c37bd227 (patch)
tree89ed3208b47653a9df42fa3e97d9b8c4076fda99 /src/client/views/nodes/PresBox.tsx
parente2b5bc51c1fa4b4ed026e6582b80086808bdcb70 (diff)
fixed undoing tab name
Diffstat (limited to 'src/client/views/nodes/PresBox.tsx')
-rw-r--r--src/client/views/nodes/PresBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx
index 54830d731..b72561644 100644
--- a/src/client/views/nodes/PresBox.tsx
+++ b/src/client/views/nodes/PresBox.tsx
@@ -150,7 +150,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps, PresBoxSchema>
DocListCastAsync((Doc.UserDoc().myPresentations as Doc).data).then(pres =>
!pres?.includes(this.rootDoc) && Doc.AddDocToList(Doc.UserDoc().myPresentations as Doc, "data", this.rootDoc));
this._disposers.selection = reaction(() => SelectionManager.SelectedDocuments(),
- views => views.some(view => view.props.Document === this.rootDoc) && this.updateCurrentPresentation())
+ views => views.some(view => view.props.Document === this.rootDoc) && this.updateCurrentPresentation());
}
@action