Skip to content

Commit

Permalink
Up lint
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiahub committed Dec 18, 2023
1 parent 37d1c09 commit 15d362e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,9 @@
<div class="cell">
<clr-select-container style="margin-top: 0">
<select tabindex="{{ 300 }}" [formControlName]="app.name" clrSelect>
<option *ngIf="builder.ctrPropertiesState.isFirstLaunch" value="">{{ getLabelAppVersion(builder.taskLaunchConfig, app) }}</option>
<option *ngIf="builder.ctrPropertiesState.isFirstLaunch" value="">
{{ getLabelAppVersion(builder.taskLaunchConfig, app) }}
</option>
<option *ngFor="let version of app.versions" [value]="version.version">
{{ version.version }}
</option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ export class BuilderComponent implements OnInit, OnDestroy {
const ctrPropertiesState = {
isLoading: taskLaunchConfig.ctr.optionsState.isLoading,
isOnError: taskLaunchConfig.ctr.optionsState.isOnError,
isFirstLaunch: taskLaunchConfig.ctr.optionsState.isFirstLaunch,
isFirstLaunch: taskLaunchConfig.ctr.optionsState.isFirstLaunch
};

platformControl.valueChanges.subscribe(value => {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/tasks-jobs/tasks/launch/task-launch.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class TaskLaunchService {
map(apps =>
apps.reduce((mapAccumulator, app) => {
const a = mapAccumulator.get(app.name);
const isFirstLaunch = task?.lastTaskExecution?.deploymentProperties.length;
const isFirstLaunch = task?.lastTaskExecution?.deploymentProperties.length;
if (a) {
if (app.defaultVersion) {
a.version = app.version;
Expand Down

0 comments on commit 15d362e

Please sign in to comment.