Skip to content

Commit e2106af

Browse files
[DSC-1924] add action bar and selection functions
1 parent 28c5b5c commit e2106af

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

src/app/my-dspace-page/my-dspace-page.component.html

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,23 @@
33
<ds-my-dspace-new-submission *dsShowOnlyForRole="[roleTypeEnum.Submitter]"></ds-my-dspace-new-submission>
44
</div>
55

6-
<ds-search *ngIf="configuration && context"
7-
[configuration]="configuration"
8-
[configurationList]="(configurationList$ | async)"
9-
[context]="context"
10-
[viewModeList]="viewModeList"
11-
[projection]="projection"
12-
[showThumbnails]="false">
6+
<ds-search
7+
*ngIf="configuration && context"
8+
[configuration]="configuration"
9+
[configurationList]="(configurationList$ | async)"
10+
[context]="context"
11+
[viewModeList]="viewModeList"
12+
[projection]="projection"
13+
[showThumbnails]="false"
14+
[selectable]="(currentConfiguration$ | async) === workflowType"
15+
[selectionConfig]="{ repeatable: true, listId: listId }"
16+
(deselectObject)="onDeselectObject($event)"
17+
(selectObject)="onSelectObject($event)"
18+
>
19+
<ds-my-dspace-bulk-action
20+
bulkActions
21+
[listId]="listId"
22+
*ngIf="(currentConfiguration$ | async) === workflowType"
23+
></ds-my-dspace-bulk-action>
1324
<ds-my-dspace-new-bulk-import additionalSearchFormOptions></ds-my-dspace-new-bulk-import>
1425
</ds-search>

0 commit comments

Comments
 (0)