mirror of https://github.com/portainer/portainer
fix(clustersetup): dont show modal when loading (#7810)
parent
315c1c7e1e
commit
56087bcbb3
|
@ -352,7 +352,7 @@ class KubernetesConfigureController {
|
||||||
}
|
}
|
||||||
|
|
||||||
uiCanExit() {
|
uiCanExit() {
|
||||||
if (!this.state.isSaving && (this.areControllersChanged() || this.areFormValuesChanged())) {
|
if (!this.state.isSaving && (this.areControllersChanged() || this.areFormValuesChanged()) && !this.isIngressControllersLoading) {
|
||||||
return this.ModalService.confirmAsync({
|
return this.ModalService.confirmAsync({
|
||||||
title: 'Are you sure?',
|
title: 'Are you sure?',
|
||||||
message: 'You currently have unsaved changes in the cluster setup view. Are you sure you want to leave?',
|
message: 'You currently have unsaved changes in the cluster setup view. Are you sure you want to leave?',
|
||||||
|
|
Loading…
Reference in New Issue