Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 4fa685e

Browse files
oodamienghillert
authored andcommitted
Stream deploy (skipper integration): fix bug properties version
Resolves #816
1 parent 80fa121 commit 4fa685e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ui/src/app/streams/stream-deploy/builder/builder.component.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,11 @@ export class StreamDeployBuilderComponent implements OnInit, OnDestroy {
293293
// Error: app not found
294294
builder.errors.global.push(line);
295295
} else {
296-
builder.formGroup.get('appsVersion').get(appKey).setValue(value);
296+
const app = this.refBuilder.streamDeployConfig.apps.find((app: any) => app.name === appKey);
297+
// Populate if it's not the default version
298+
if (!app || app.version !== value) {
299+
builder.formGroup.get('appsVersion').get(appKey).setValue(value);
300+
}
297301
}
298302
} else if (!StreamDeployService.app.is(key)) {
299303
// Invalid Key

0 commit comments

Comments
 (0)