diff options
author | bobzel <zzzman@gmail.com> | 2020-09-07 11:51:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-07 11:51:59 -0400 |
commit | 57f38d12df47b4bc48ea484ea4023455ce5156a4 (patch) | |
tree | dcc095b724a6f3fb4878244c78bf47d580f06e28 /src/client/views/DocumentButtonBar.tsx | |
parent | 9a1fec81467e6d4b04c6e28d66b724aae92db826 (diff) | |
parent | 53c03919a4c89b9e685d006dad948c65cc715831 (diff) |
Merge pull request #696 from browngraphicslab/acls_uv
fixed bottom linking popup and others
Diffstat (limited to 'src/client/views/DocumentButtonBar.tsx')
-rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index cf2bd5176..bbe60776f 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -226,7 +226,7 @@ export class DocumentButtonBar extends React.Component<{ views: () => (DocumentV @computed get moreButton() { const targetDoc = this.view0?.props.Document; - return !targetDoc ? (null) : <Tooltip title={<><div className="dash-tooltip">{"Open Properties Panel"}</div></>}> + return !targetDoc ? (null) : <Tooltip title={<><div className="dash-tooltip">{`${CurrentUserUtils.propertiesWidth > 0 ? "Close" : "Open"} Properties Panel`}</div></>}> <div className="documentButtonBar-linker" style={{ color: "white" }} onClick={action(e => CurrentUserUtils.propertiesWidth = CurrentUserUtils.propertiesWidth > 0 ? 0 : 250)}> <FontAwesomeIcon className="documentdecorations-icon" size="sm" icon="ellipsis-h" |