aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentButtonBar.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-07 11:51:59 -0400
committerGitHub <noreply@github.com>2020-09-07 11:51:59 -0400
commit57f38d12df47b4bc48ea484ea4023455ce5156a4 (patch)
treedcc095b724a6f3fb4878244c78bf47d580f06e28 /src/client/views/DocumentButtonBar.tsx
parent9a1fec81467e6d4b04c6e28d66b724aae92db826 (diff)
parent53c03919a4c89b9e685d006dad948c65cc715831 (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.tsx2
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"