Skip to content

Commit

Permalink
62372: ItemTypeSwitcher bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Atmire-Kristof committed May 13, 2019
1 parent b0f9ce9 commit 5c4691b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class ItemTypeSwitcherComponent implements OnInit {
}

let item: Item;
if (hasValue((this.object as any).dspaceObject)) {
if (hasValue((this.object as any).indexableObject)) {
const searchResult = this.object as ItemSearchResult;
item = searchResult.indexableObject;
} else {
Expand Down

0 comments on commit 5c4691b

Please sign in to comment.