Skip to content

Commit

Permalink
[CST-5253] Fix detail visualization for archived item in the mydspace…
Browse files Browse the repository at this point in the history
… result list
  • Loading branch information
atarix83 committed Apr 29, 2022
1 parent 2b7ed5c commit 9e2928f
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -3,9 +3,12 @@ import { Component } from '@angular/core';
import { ViewMode } from '../../../../core/shared/view-mode.model';
import { Item } from '../../../../core/shared/item.model';
import { SearchResultDetailElementComponent } from '../search-result-detail-element.component';
import { MyDspaceItemStatusType } from '../../../object-collection/shared/mydspace-item-status/my-dspace-item-status-type';
import {
MyDspaceItemStatusType
} from '../../../object-collection/shared/mydspace-item-status/my-dspace-item-status-type';
import { listableObjectComponent } from '../../../object-collection/shared/listable-object/listable-object.decorator';
import { ItemSearchResult } from '../../../object-collection/shared/item-search-result.model';
import { Context } from '../../../../core/shared/context.model';

/**
* This component renders item object for the search result in the detail view.
Expand All @@ -16,7 +19,8 @@ import { ItemSearchResult } from '../../../object-collection/shared/item-search-
templateUrl: './item-search-result-detail-element.component.html'
})

@listableObjectComponent(Item, ViewMode.DetailedListElement)
@listableObjectComponent(ItemSearchResult, ViewMode.DetailedListElement, Context.Workspace)
@listableObjectComponent(ItemSearchResult, ViewMode.DetailedListElement, Context.Workflow)
export class ItemSearchResultDetailElementComponent extends SearchResultDetailElementComponent<ItemSearchResult, Item> {

/**
Expand Down

0 comments on commit 9e2928f

Please sign in to comment.