mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Do not switch context if select is hidden
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
c9f8765a49
commit
94e301887f
@ -97,7 +97,7 @@ export class DeleteClusterDialog extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
changeCurrentContext() {
|
changeCurrentContext() {
|
||||||
if (this.newCurrentContext) {
|
if (this.newCurrentContext && this.showContextSwitch) {
|
||||||
dialogState.config.currentContext = this.newCurrentContext;
|
dialogState.config.currentContext = this.newCurrentContext;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user