RED-3212 - added ids for tests
This commit is contained in:
parent
8d232fe2d6
commit
ffb38dadc2
@ -42,6 +42,7 @@
|
||||
></iqser-circle-button>
|
||||
|
||||
<iqser-circle-button
|
||||
id="assign-me"
|
||||
(action)="fileAssignService.assignToMe([file])"
|
||||
*ngIf="canAssignToSelf$ | async"
|
||||
[icon]="'red:assign-me'"
|
||||
|
||||
@ -124,6 +124,7 @@ export class FileActionsComponent implements OnChanges {
|
||||
private get _buttons(): Action[] {
|
||||
return [
|
||||
{
|
||||
id: 'delete-file',
|
||||
type: ActionTypes.circleBtn,
|
||||
action: ($event: MouseEvent) => this._openDeleteFileDialog($event),
|
||||
tooltip: _('dossier-overview.delete.action'),
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
<iqser-circle-button
|
||||
(action)="btn.action($event)"
|
||||
*ngIf="btn.type === 'circleBtn'"
|
||||
[id]="btn.id"
|
||||
[attr.aria-expanded]="btn.ariaExpanded && btn.ariaExpanded | async"
|
||||
[disabled]="btn.disabled"
|
||||
[icon]="btn.icon"
|
||||
|
||||
@ -32,7 +32,7 @@ export class TrashScreenComponent extends ListingComponent<TrashItem> {
|
||||
{ label: _('trash.table-col-names.name'), sortByKey: 'name' },
|
||||
{ label: _('trash.table-col-names.owner'), class: 'user-column', sortByKey: 'ownerName' },
|
||||
{ label: _('trash.table-col-names.dossier'), sortByKey: 'fileDossierName' },
|
||||
{ label: _('trash.table-col-names.deleted-on'), sortByKey: 'softDeletedTime' },
|
||||
{ label: _('trash.table-col-names.deleted-on'), sortByKey: 'softDeletedTime', id: 'deleted-on' },
|
||||
{ label: _('trash.table-col-names.time-to-restore'), sortByKey: 'restoreDate' },
|
||||
];
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit c174a1985e504084920499bab90e3ed8da50e474
|
||||
Subproject commit 9589808c6de13dd66179cb7ced92dcd920cc3f74
|
||||
@ -12,6 +12,7 @@ export const ActionTypes = {
|
||||
};
|
||||
|
||||
export interface Action {
|
||||
id?: string;
|
||||
action?: (...args: unknown[]) => void;
|
||||
tooltip?: string;
|
||||
icon?: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user