-
![]()
+
diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.ts b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.ts
index 336af41da..e3bd4b7f7 100644
--- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.ts
+++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.ts
@@ -12,15 +12,11 @@ export class DocumentCardLargeComponent implements OnInit {
constructor(private documentService: DocumentService, private sanitizer: DomSanitizer) { }
- _selected = false
-
- get selected() {
- return this._selected
- }
-
@Input()
- set selected(value: boolean) {
- this._selected = value
+ selected = false
+
+ setSelected(value: boolean) {
+ this.selected = value
this.selectedChange.emit(value)
}
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html
index 544b4d02a..e0d8d28e1 100644
--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html
+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html
@@ -1,11 +1,11 @@
-
![]()
+
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts
index 6b7f86614..ed69c5c50 100644
--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts
+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts
@@ -12,15 +12,11 @@ export class DocumentCardSmallComponent implements OnInit {
constructor(private documentService: DocumentService) { }
- _selected = false
-
- get selected() {
- return this._selected
- }
-
@Input()
- set selected(value: boolean) {
- this._selected = value
+ selected = false
+
+ setSelected(value: boolean) {
+ this.selected = value
this.selectedChange.emit(value)
}