We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f5b7ef + 806810a commit a9297a3Copy full SHA for a9297a3
1 file changed
webapp/packages/plugin-connections/src/ConnectionForm/Options/ConnectionOptionsTabService.ts
@@ -237,9 +237,7 @@ export class ConnectionOptionsTabService extends Bootstrap {
237
238
tempConfig.description = state.config.description;
239
240
- if (state.projectId === PROJECT_GLOBAL_ID) {
241
- tempConfig.template = state.config.template;
242
- }
+ tempConfig.template = state.projectId === PROJECT_GLOBAL_ID ? state.config.template : false;
243
244
tempConfig.driverId = state.config.driverId;
245
0 commit comments