File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { RoleType } from '../core/roles/role-types';
1515import { MyDSpaceConfigurationValueType } from './my-dspace-configuration-value-type' ;
1616import { SelectableListService } from '../shared/object-list/selectable-list/selectable-list.service' ;
1717import { PoolTaskSearchResult } from '../shared/object-collection/shared/pool-task-search-result.model' ;
18+ import { ClaimedTaskSearchResult } from '../shared/object-collection/shared/claimed-task-search-result.model' ;
1819
1920export const MYDSPACE_ROUTE = '/mydspace' ;
2021export const SEARCH_CONFIG_SERVICE : InjectionToken < SearchConfigurationService > = new InjectionToken < SearchConfigurationService > ( 'searchConfigurationService' ) ;
@@ -107,12 +108,12 @@ export class MyDSpacePageComponent implements OnInit {
107108 this . currentConfiguration$ = this . searchConfigService . getCurrentConfiguration ( '' ) ;
108109 }
109110
110- onDeselectObject ( task : PoolTaskSearchResult ) {
111+ onDeselectObject ( task : PoolTaskSearchResult | ClaimedTaskSearchResult ) {
111112 this . selectableListService . deselectSingle ( this . listId , task ) ;
112113
113114 }
114115
115- onSelectObject ( task : PoolTaskSearchResult ) {
116+ onSelectObject ( task : PoolTaskSearchResult | ClaimedTaskSearchResult ) {
116117 this . selectableListService . selectSingle ( this . listId , task ) ;
117118 }
118119}
You can’t perform that action at this time.
0 commit comments