Skip to content

Commit

Permalink
NAC-326 - incorrect value recomputevideoinfo video rendition (#217)
Browse files Browse the repository at this point in the history
* NAC-326: fix incorrect value passed for recompute information

* removed package-lock.json commit

* fixed for folder
  • Loading branch information
swarnadipa-dev authored Dec 20, 2024
1 parent a173e2f commit 0d180c8
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<mat-form-field appearance="outline" class="recompute input-field"
[ngClass]="{'video-renditions': isFeatureVideoRenditions()}">
<mat-select matNativeControl formControlName="recomputeAllVideoInfo" id="recomputeAllVideoInfo">
<mat-option value="true" selected>{{ VIDEO_RENDITIONS_LABELS.RECOMPUTE_MISSING_ONLY }}</mat-option>
<mat-option value="false">{{ VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL }}</mat-option>
<mat-option value="false" selected>{{ VIDEO_RENDITIONS_LABELS.RECOMPUTE_MISSING_ONLY }}</mat-option>
<mat-option value="true">{{ VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL }}</mat-option>
</mat-select>
</mat-form-field>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class DocumentTabComponent implements OnInit, OnDestroy {
);
this.inputForm.addControl(
VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL_VIDEO_INFO_KEY,
new FormControl("true")
new FormControl("false")
);
}
if (this.isFeatureFullTextReindex()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<mat-form-field appearance="outline" class="recompute input-field"
[ngClass]="{'video-renditions': isFeatureVideoRenditions()}">
<mat-select matNativeControl formControlName="recomputeAllVideoInfo" id="recomputeAllVideoInfo">
<mat-option value="true" selected>{{VIDEO_RENDITIONS_LABELS.RECOMPUTE_MISSING_ONLY}}</mat-option>
<mat-option value="false">{{VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL}}</mat-option>
<mat-option value="false" selected>{{VIDEO_RENDITIONS_LABELS.RECOMPUTE_MISSING_ONLY}}</mat-option>
<mat-option value="true">{{VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL}}</mat-option>
</mat-select>
</mat-form-field>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class FolderTabComponent implements OnInit, OnDestroy {
);
this.inputForm.addControl(
VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL_VIDEO_INFO_KEY,
new FormControl("true")
new FormControl("false")
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<mat-form-field appearance="outline" class="recompute input-field nxql"
[ngClass]="{'video-renditions': isFeatureVideoRenditions()}">
<mat-select matNativeControl formControlName="recomputeAllVideoInfo" id="recomputeAllVideoInfo">
<mat-option value="true" selected>{{VIDEO_RENDITIONS_LABELS.RECOMPUTE_MISSING_ONLY}}</mat-option>
<mat-option value="false">{{VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL}}</mat-option>
<mat-option value="false" selected>{{VIDEO_RENDITIONS_LABELS.RECOMPUTE_MISSING_ONLY}}</mat-option>
<mat-option value="true">{{VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL}}</mat-option>
</mat-select>
</mat-form-field>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class NXQLTabComponent implements OnInit, OnDestroy {
);
this.inputForm.addControl(
VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL_VIDEO_INFO_KEY,
new FormControl("true")
new FormControl("false")
);
}
if(this.isFeatureFullTextReindex()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export const featureMap = () => ({
bodyParam: {
query: `${VIDEO_RENDITIONS_LABELS.FOLDER_QUERY}`,
[VIDEO_RENDITIONS_LABELS.CONVERSION_NAME_KEY]: `{conversionNames}`,
recomputeVideoInfo: `{recomputeVideoInfo}`,
[VIDEO_RENDITIONS_LABELS.RECOMPUTE_ALL_VIDEO_INFO_KEY]: `{recomputeAllVideoInfo}`,
},
requestHeaders: {
"Content-Type": "application/x-www-form-urlencoded",
Expand Down

0 comments on commit 0d180c8

Please sign in to comment.