mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[MNT-25175] Display script name for folder rule (#4637)
* [MNT-25175] Display script name for folder rule * [MNT-25175] Fixed e2e * [MNT-25175] Exclude e2e tests * [MNT-25175] Exclude e2e tests
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
/* stylelint-disable selector-class-pattern */
|
||||
.aca-rule-action-list {
|
||||
min-width: 0;
|
||||
|
||||
.aca-rule-action-list__item .aca-rule-action .mat-mdc-form-field-flex .mat-mdc-form-field-infix {
|
||||
padding-top: 24px;
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<form class="aca-rule-action__form" [formGroup]="form">
|
||||
|
||||
<mat-form-field class="aca-rule-action-full-width" appearance="fill" subscriptSizing="dynamic">
|
||||
<mat-form-field class="aca-rule-action-full-width aca-rule-action-form-field" appearance="fill" subscriptSizing="dynamic">
|
||||
<mat-select
|
||||
formControlName="actionDefinitionId"
|
||||
data-automation-id="rule-action-select"
|
||||
@@ -17,7 +17,7 @@
|
||||
*ngIf="cardViewItems?.length > 0"
|
||||
data-automation-id="rule-action-card-view"
|
||||
[properties]="cardViewItems"
|
||||
class="aca-rule-action-full-width"
|
||||
class="aca-rule-action-full-width aca-rule-action-card-view"
|
||||
[editable]="!readOnly" />
|
||||
|
||||
</form>
|
||||
|
@@ -1,4 +1,6 @@
|
||||
.aca-rule-action {
|
||||
max-width: 100%;
|
||||
|
||||
&__form {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -27,5 +29,14 @@
|
||||
&-full-width {
|
||||
height: fit-content;
|
||||
flex: 1;
|
||||
|
||||
&.aca-rule-action-form-field {
|
||||
min-width: unset;
|
||||
}
|
||||
|
||||
&.aca-rule-action-card-view {
|
||||
overflow: hidden;
|
||||
margin-top: 11px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -255,7 +255,7 @@ export class RuleActionUiComponent implements ControlValueAccessor, OnInit, OnCh
|
||||
}
|
||||
// falls through
|
||||
default:
|
||||
if (constraintsForDropdownBox && !this.readOnly) {
|
||||
if (constraintsForDropdownBox) {
|
||||
return new CardViewSelectItemModel({
|
||||
...cardViewPropertiesModel,
|
||||
value: (this.parameters[paramDef.name] as string) ?? '',
|
||||
|
Reference in New Issue
Block a user