Skip to content

Commit

Permalink
refactor:necessary adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: Wilfred Almeida <60785452+WilfredAlmeida@users.noreply.github.com>
  • Loading branch information
WilfredAlmeida committed Aug 14, 2023
1 parent 8e16588 commit f8c14b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ <h3 class="modal-title">{{ headerTitle | translate }}</h3>
id="double_star"
name="filterType"
[value]="true"
[disabled]="policyId2 >= 0 || onGoing2"
[disabled]="policyId >= 0 || onGoing"
[(ngModel)]="isRegexMode"
(change)="pushModeChange2()"
(change)="disableRegexFilterMode()"
[ngModelOptions]="{ standalone: true }" />
<label for="double_star"
>Double Star
Expand All @@ -164,9 +164,9 @@ <h3 class="modal-title">{{ headerTitle | translate }}</h3>
id="regular_expression"
name="filterType"
[value]="false"
[disabled]="policyId2 >= 0 || onGoing2"
[disabled]="policyId >= 0 || onGoing"
[(ngModel)]="isRegexMode"
(change)="pullModeChange2()"
(change)="enableRegexFilterMode()"
[ngModelOptions]="{ standalone: true }" />
<label for="regular_expression"
>RegularExpression
Expand Down
2 changes: 2 additions & 0 deletions src/portal/src/app/shared/entities/shared.const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ export const FilterType = {
TAG: 'tag',
LABEL: 'label',
RESOURCE: 'resource',
TAG_REGEX: 'tagRegex',
LABEL_REGEX: 'labelRegex'
};

export const enum ConfirmationButtons {
Expand Down

0 comments on commit f8c14b3

Please sign in to comment.