diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-04-13 10:39:54 -0400 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-04-13 10:39:54 -0400 |
| commit | a97cd98786ff5572547430fff6c9a46117423bb1 (patch) | |
| tree | aace722360ebb7580bdd22171912688c3d254140 /src/client/views/collections/TreeView.tsx | |
| parent | 95a42c92c9b4b2af8703afe85ece4e32975a3047 (diff) | |
| parent | 07ad05653c419a197a58a4f076f4d63697c375d9 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into sharing_scenario
Diffstat (limited to 'src/client/views/collections/TreeView.tsx')
| -rw-r--r-- | src/client/views/collections/TreeView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/TreeView.tsx b/src/client/views/collections/TreeView.tsx index ce3ba7981..e1fd78270 100644 --- a/src/client/views/collections/TreeView.tsx +++ b/src/client/views/collections/TreeView.tsx @@ -150,6 +150,7 @@ export class TreeView extends React.Component<TreeViewProps> { if (this.props.document.isFolder || Doc.IsSystem(this.props.document)) { this.treeViewOpen = !this.treeViewOpen; } else { + // choose an appropriate alias or make one. --- choose the first alias that (1) user owns, (2) has no context field ... otherwise make a new alias this.props.addDocTab(this.props.document, "add:right"); } } |
