feat: Visually differentiate unread documents (#1507)

* feat: Visually differentiate unread documents

* feat: add document treatment in document preview

* fix requested changes

Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
Guilherme DIniz
2020-09-21 02:32:28 -03:00
committed by GitHub
parent 4ffc04bc5d
commit d487da8f15
12 changed files with 80 additions and 25 deletions

View File

@@ -399,7 +399,7 @@ export default class DocumentsStore extends BaseStore<Document> {
@action
fetch = async (
id: string,
options?: FetchOptions = {}
options: FetchOptions = {}
): Promise<?Document> => {
if (!options.prefetch) this.isFetching = true;