fix: 🐛 Fix edge case with showing host modal (#1939)
✅ Closes: ICU-11285
This commit is contained in:
1 parent
7993422b0d
commit
262df46fac
1 file changed
+5
-1
@@ -172,7 +172,11 @@ export default class ScopesScopeProjectsTargetsTargetRoute extends Route {
|
||||
.confirm(e.message, { isConnectError: true })
|
||||
// Retry
|
||||
.then(() => this.connect(model, host))
|
||||
.catch(() => null /* no op */);
|
||||
.catch(() => {
|
||||
// Reset the flag as this was user initiated and we're not
|
||||
// in a transition or have a host modal open
|
||||
this.isConnectionError = false;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user