mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Terminal tab auto-close fixes (#314)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
105021509c
commit
b8fd4040a1
2 files changed
+15
-3
No files matched your search
@@ -16,7 +16,7 @@ interface Props extends DockTabProps {
|
||||
@observer
|
||||
export class TerminalTab extends React.Component<Props> {
|
||||
componentDidMount() {
|
||||
reaction(() => this.isDisconnected, () => {
|
||||
reaction(() => this.isDisconnected === true, () => {
|
||||
dockStore.closeTab(this.tabId)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user