Skip to content

Commit

Permalink
cot-874 - renaming variable name for QA comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonydummer committed Oct 16, 2024
1 parent 589cd37 commit d6bdaef
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/rpx-xui-common-lib",
"version": "2.0.30-COT-874-v2",
"version": "2.0.30-COT-874-v3",
"engines": {
"node": ">=18.19.0"
},
Expand Down
2 changes: 1 addition & 1 deletion projects/exui-common-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/rpx-xui-common-lib",
"version": "2.0.30-COT-874-v2",
"version": "2.0.30-COT-874-v3",
"peerDependencies": {
"launchdarkly-js-client-sdk": "^3.3.0",
"ngx-pagination": "^3.2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ <h3 [class]="field.titleClasses ? field.titleClasses : 'govuk-heading-s'" style=
>{{(config.applyButtonText || 'Apply') | rpxTranslate}}</button>
<button *ngIf="config.showCancelFilterButton"
class="govuk-button govuk-button--secondary govuk-!-margin-bottom-0"
[type]="config.resubmitOnCancel ? 'submit' : 'button'"
[type]="config.submitOnCancel ? 'submit' : 'button'"
id="cancelFilter"
(click)="cancelFilter()">{{ (config.cancelButtonText || 'Cancel') | rpxTranslate}}</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ describe('cancel button operation options', () => {
applyButtonText: 'apply', id: 'example', persistence: 'session',
showCancelFilterButton: true,
cancelButtonText: 'Reset to default',
resubmitOnCancel: true,
submitOnCancel: true,
fields: []
};

Expand All @@ -715,7 +715,7 @@ describe('cancel button operation options', () => {
applyButtonText: 'apply', id: 'example', persistence: 'session',
showCancelFilterButton: true,
cancelButtonText: 'Reset to default',
resubmitOnCancel: false,
submitOnCancel: false,
fields: []
};
fixture.detectChanges();
Expand Down
2 changes: 1 addition & 1 deletion projects/exui-common-lib/src/lib/models/filter.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface FilterConfig {
cancelButtonText: string;
cancelSetting?: FilterSetting;
showCancelFilterButton?: boolean;
resubmitOnCancel?: boolean;
submitOnCancel?: boolean;
preSelectedNestedCheckbox?: number[];
cancelButtonCallback?(): void;
applyButtonCallback?(): void;
Expand Down

0 comments on commit d6bdaef

Please sign in to comment.