diff options
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/src/components/PluginView.tsx | 2 | ||||
| -rw-r--r-- | frontend/src/plugin.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/components/PluginView.tsx b/frontend/src/components/PluginView.tsx index 2ae0b555..630cc962 100644 --- a/frontend/src/components/PluginView.tsx +++ b/frontend/src/components/PluginView.tsx @@ -26,7 +26,7 @@ const PluginView: VFC = () => { className={joinClassNames(staticClasses.TabGroupPanel, scrollClasses.ScrollPanel, scrollClasses.ScrollY)} style={{ height: '100%' }} > - {visible && activePlugin.content} + {(visible || activePlugin.alwaysRender) && activePlugin.content} </div> </Focusable> ); diff --git a/frontend/src/plugin.ts b/frontend/src/plugin.ts index 630f9775..37348593 100644 --- a/frontend/src/plugin.ts +++ b/frontend/src/plugin.ts @@ -4,4 +4,5 @@ export interface Plugin { icon: JSX.Element; content?: JSX.Element; onDismount?(): void; + alwaysRender?: boolean; } |
