diff --git a/src/app/+search-page/search-service/search.service.ts b/src/app/+search-page/search-service/search.service.ts index 89efd1d15d..c70fe22ce0 100644 --- a/src/app/+search-page/search-service/search.service.ts +++ b/src/app/+search-page/search-service/search.service.ts @@ -40,7 +40,7 @@ export class SearchService implements OnDestroy { totalPages = 5; mockedHighlights: string[] = new Array( 'This is a sample abstract.', - 'This is a sample abstractabstractabstractabstractabstractabstractabstractabstract. But, to fill up some space, here\'s "Hello" in several different languages : ', + 'This is a sample abstract. But, to fill up some space, here\'s "Hello" in several different languages : ', 'This is a Sample HTML webpage including several images and styles (CSS).', 'This is really just a sample abstract. But, Í’vé thrown ïn a cõuple of spëciâl charactèrs för êxtrå fuñ!', 'This abstract is really quite great', diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 44092d373e..c2728941d0 100755 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -38,7 +38,7 @@ export function getBase() { } export function getMetaReducers(config: GlobalConfig): Array> { - const metaReducers: Array> = config.production ? appMetaReducers : [...appMetaReducers]; + const metaReducers: Array> = config.production ? appMetaReducers : [...appMetaReducers, storeFreeze]; return config.debug ? [...metaReducers, ...debugMetaReducers] : metaReducers; } diff --git a/src/app/shared/object-list/item-list-element/item-list-element.component.html b/src/app/shared/object-list/item-list-element/item-list-element.component.html index 1e88cc4889..e9bde67295 100644 --- a/src/app/shared/object-list/item-list-element/item-list-element.component.html +++ b/src/app/shared/object-list/item-list-element/item-list-element.component.html @@ -12,7 +12,7 @@ ({{object.findMetadata("dc.publisher")}}, {{object.findMetadata("dc.date.issued")}}) -
- {{item.findMetadata("dc.description.abstract") | dsTruncate:[200] }} +
+ {{object.findMetadata("dc.description.abstract") | dsTruncate:[200] }}
diff --git a/src/app/shared/truncatable/truncatable-part/truncatable-part.component.ts b/src/app/shared/truncatable/truncatable-part/truncatable-part.component.ts index 1392271db7..0f695625ec 100644 --- a/src/app/shared/truncatable/truncatable-part/truncatable-part.component.ts +++ b/src/app/shared/truncatable/truncatable-part/truncatable-part.component.ts @@ -1,12 +1,10 @@ import { Component, Input, OnDestroy, OnInit } from '@angular/core'; import { TruncatableService } from '../truncatable.service'; -import { cardExpand } from '../../animations/card-expand'; @Component({ selector: 'ds-truncatable-part', templateUrl: './truncatable-part.component.html', - styleUrls: ['./truncatable-part.component.scss'], - animations: [cardExpand] + styleUrls: ['./truncatable-part.component.scss'] }) export class TruncatablePartComponent implements OnInit, OnDestroy { diff --git a/src/app/shared/truncatable/truncatable.component.ts b/src/app/shared/truncatable/truncatable.component.ts index 64477389b9..81ad2b3cff 100644 --- a/src/app/shared/truncatable/truncatable.component.ts +++ b/src/app/shared/truncatable/truncatable.component.ts @@ -2,8 +2,6 @@ import { Component, Input } from '@angular/core'; import { TruncatableService } from './truncatable.service'; -import { Observable } from 'rxjs/Observable'; -import { cardExpand } from '../animations/card-expand'; @Component({ selector: 'ds-truncatable', diff --git a/src/app/typings.d.ts b/src/app/typings.d.ts index c256b0f09d..f3b4a1a548 100644 --- a/src/app/typings.d.ts +++ b/src/app/typings.d.ts @@ -82,13 +82,3 @@ declare module '*.json' { } declare module 'reflect-metadata'; - -interface IShaveOptions { - classname?: string, - character?: string -} - -declare module 'shave' { - export default function shave(selector: string | Node, maxHeight: number, options?: IShaveOptions): void; - -}