mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACS-3872] Disable boolean mode dropdown due to lack of OR in ACS (#2744)
This commit is contained in:
parent
fd83219d54
commit
2bdad0bce7
@ -20,7 +20,7 @@
|
|||||||
<mat-form-field *ngIf="i > 0">
|
<mat-form-field *ngIf="i > 0">
|
||||||
<mat-select
|
<mat-select
|
||||||
[value]="booleanModeControl.value"
|
[value]="booleanModeControl.value"
|
||||||
[disabled]="i > 1 || readOnly"
|
[disabled]="!isOrImplemented || i > 1 || readOnly"
|
||||||
(selectionChange)="setBooleanMode($event.value)">
|
(selectionChange)="setBooleanMode($event.value)">
|
||||||
<mat-option value="and">{{ 'ACA_FOLDER_RULES.RULE_DETAILS.LOGIC_OPERATORS.AND' | translate }}</mat-option>
|
<mat-option value="and">{{ 'ACA_FOLDER_RULES.RULE_DETAILS.LOGIC_OPERATORS.AND' | translate }}</mat-option>
|
||||||
<mat-option value="or">{{ 'ACA_FOLDER_RULES.RULE_DETAILS.LOGIC_OPERATORS.OR' | translate }}</mat-option>
|
<mat-option value="or">{{ 'ACA_FOLDER_RULES.RULE_DETAILS.LOGIC_OPERATORS.OR' | translate }}</mat-option>
|
||||||
|
@ -57,6 +57,8 @@ export class RuleCompositeConditionUiComponent implements ControlValueAccessor,
|
|||||||
simpleConditions: new FormArray([])
|
simpleConditions: new FormArray([])
|
||||||
});
|
});
|
||||||
|
|
||||||
|
readonly isOrImplemented = false;
|
||||||
|
|
||||||
private _readOnly = false;
|
private _readOnly = false;
|
||||||
@Input()
|
@Input()
|
||||||
get readOnly(): boolean {
|
get readOnly(): boolean {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user