summaryrefslogtreecommitdiff
path: root/frontend/src/components/TitleView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/TitleView.tsx')
-rw-r--r--frontend/src/components/TitleView.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/components/TitleView.tsx b/frontend/src/components/TitleView.tsx
index 6ae6b2ae..111f8c80 100644
--- a/frontend/src/components/TitleView.tsx
+++ b/frontend/src/components/TitleView.tsx
@@ -49,15 +49,15 @@ const TitleView: VFC = () => {
}
return (
- <div className={staticClasses.Title} style={titleStyles}>
+ <Focusable className={staticClasses.Title} style={titleStyles}>
<DialogButton
style={{ height: '28px', width: '40px', minWidth: 0, padding: '10px 12px' }}
onClick={closeActivePlugin}
>
<FaArrowLeft style={{ marginTop: '-4px', display: 'block' }} />
</DialogButton>
- <div style={{ flex: 0.9 }}>{activePlugin.name}</div>
- </div>
+ {activePlugin?.titleView || <div style={{ flex: 0.9 }}>{activePlugin.name}</div>}
+ </Focusable>
);
};