From 14d6fa20b47ff49a199fc8c181de6857c37bd227 Mon Sep 17 00:00:00 2001 From: bobzel Date: Sun, 25 Oct 2020 18:27:06 -0400 Subject: fixed undoing tab name --- src/client/views/nodes/PresBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/nodes') 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 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 -- cgit v1.2.3-70-g09d2