-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
108586: Fixed ItemListElementComponent not pointing to the ItemSearch…
…ResultListElementComponent from the themes folder when present
- Loading branch information
1 parent
7529ed8
commit d00fc5d
Showing
5 changed files
with
128 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
...app/shared/object-list/item-list-element/item-types/item/item-list-element.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
<ds-item-search-result-list-element [showLabel]="showLabel" [object]="{ indexableObject: object, hitHighlights: {} }" [linkType]="linkType"></ds-item-search-result-list-element> | ||
<ds-listable-object-component-loader | ||
[object]="transformItemToItemSearchResult(object)" | ||
[viewMode]="viewMode" | ||
[linkType]="linkType"> | ||
</ds-listable-object-component-loader> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Observable, of as observableOf } from 'rxjs'; | ||
|
||
export class TruncatableServiceStub { | ||
|
||
isCollapsed(_id: string): Observable<boolean> { | ||
return observableOf(false); | ||
} | ||
|
||
// eslint-disable-next-line no-empty, @typescript-eslint/no-empty-function | ||
public toggle(_id: string): void { | ||
} | ||
|
||
// eslint-disable-next-line no-empty, @typescript-eslint/no-empty-function | ||
public collapse(_id: string): void { | ||
} | ||
|
||
// eslint-disable-next-line no-empty, @typescript-eslint/no-empty-function | ||
public expand(_id: string): void { | ||
} | ||
|
||
} |