Skip to content

Commit a35a1aa

Browse files
author
Konstantin Vasilev
committed
CB-2514 fix(plugin-connections): Do not show unsaved changes dialog
1 parent 59ca63c commit a35a1aa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionOptionsTabService.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,7 @@ export class ConnectionOptionsTabService extends Bootstrap {
237237

238238
tempConfig.description = state.config.description;
239239

240-
if (state.projectId === PROJECT_GLOBAL_ID) {
241-
tempConfig.template = state.config.template;
242-
}
240+
tempConfig.template = state.projectId === PROJECT_GLOBAL_ID ? state.config.template : false;
243241

244242
tempConfig.driverId = state.config.driverId;
245243

0 commit comments

Comments
 (0)