- {{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;
-
-}