CB-2514 fix(plugin-connections): Do not show unsaved changes dialog

This commit is contained in:
Konstantin Vasilev
2022-09-07 15:54:59 +03:00
parent a32e889570
commit a2d7727155
@@ -237,9 +237,7 @@ export class ConnectionOptionsTabService extends Bootstrap {
tempConfig.description = state.config.description;
if (state.projectId === PROJECT_GLOBAL_ID) {
tempConfig.template = state.config.template;
}
tempConfig.template = state.projectId === PROJECT_GLOBAL_ID ? state.config.template : false;
tempConfig.driverId = state.config.driverId;