aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authordinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com>2021-08-17 14:14:26 -0400
committerdinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com>2021-08-17 14:14:26 -0400
commit9031708067ee16d7b7e6b2689f45ee54ea5f1e4a (patch)
tree888429a49a325154fd44dd5ad30906f9e8bfa297 /src/client/views/MainView.tsx
parentc5ea51ff9d8c4c69c478038781c8d8100005d2fe (diff)
Added empty tabs message
todo: create buttons for recent tabs when all tabs in a dashboard are closed
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index b0b8d7f41..ba8f2a4c8 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -448,6 +448,7 @@ export class MainView extends React.Component {
</div>;
}
+
expandFlyout = action((button: Doc) => {
this._flyoutWidth = (this._flyoutWidth || 250);
this._sidebarContent.proto = button.target as any;