mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-3638] - update priority option (#6423)
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
"JSON_CELL": "Json",
|
||||
"COMPLETED_BY": "Completed By",
|
||||
"PRIORITY_VALUES": {
|
||||
"NOT_SET": "Not set",
|
||||
"NONE": "None",
|
||||
"LOW": "Low",
|
||||
"NORMAL": "Normal",
|
||||
"HIGH": "High"
|
||||
|
@@ -27,7 +27,7 @@ export interface TaskPriorityOption {
|
||||
}
|
||||
|
||||
export const DEFAULT_TASK_PRIORITIES: TaskPriorityOption[] = [
|
||||
{ label: 'ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.NOT_SET', value: '0', key: '0' },
|
||||
{ label: 'ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.NONE', value: '0', key: '0' },
|
||||
{ label: 'ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.LOW', value: '1', key: '1' },
|
||||
{ label: 'ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.NORMAL', value: '2', key: '2' },
|
||||
{ label: 'ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.HIGH', value: '3', key: '3' }
|
||||
|
@@ -95,7 +95,8 @@
|
||||
</mat-checkbox>
|
||||
</div>
|
||||
|
||||
<adf-cloud-date-range-filter *ngIf="taskFilterProperty.type === 'date-range'"
|
||||
<adf-cloud-date-range-filter #dateRange
|
||||
*ngIf="taskFilterProperty.type === 'date-range'"
|
||||
[processFilterProperty]="taskFilterProperty"
|
||||
[options]="taskFilterProperty.dateFilterOptions"
|
||||
(dateTypeChange)="onDateTypeChange($event, taskFilterProperty)"
|
||||
|
@@ -135,7 +135,7 @@ describe('TaskHeaderCloudComponent', () => {
|
||||
fixture.detectChanges();
|
||||
|
||||
const options: any = fixture.debugElement.queryAll(By.css('mat-option'));
|
||||
expect(options[0].nativeElement.innerText).toEqual('ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.NOT_SET');
|
||||
expect(options[0].nativeElement.innerText).toEqual('ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.NONE');
|
||||
expect(options[1].nativeElement.innerText).toEqual('ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.LOW');
|
||||
expect(options[2].nativeElement.innerText).toEqual('ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.NORMAL');
|
||||
expect(options[3].nativeElement.innerText).toEqual('ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY_VALUES.HIGH');
|
||||
|
Reference in New Issue
Block a user