diff --git a/webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionOptionsTabService.ts b/webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionOptionsTabService.ts index 54528cbd67..acc6f743e9 100644 --- a/webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionOptionsTabService.ts +++ b/webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionOptionsTabService.ts @@ -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;