From 1925f74cb58ebb7f5efa1f56678c3f71cecadb44 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 31 Jan 2018 21:59:39 -0500 Subject: [PATCH] loaded so that we dont see a flash of no items --- src/app/vault/ciphers.component.html | 2 +- src/app/vault/ciphers.component.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/vault/ciphers.component.html b/src/app/vault/ciphers.component.html index 1f3d7c9bfa..3db8a0341c 100644 --- a/src/app/vault/ciphers.component.html +++ b/src/app/vault/ciphers.component.html @@ -21,7 +21,7 @@ {{c.subTitle}} -
+

{{'noItemsInList' | i18n}}

diff --git a/src/app/vault/ciphers.component.ts b/src/app/vault/ciphers.component.ts index 1dc7010e2e..e38ca4748b 100644 --- a/src/app/vault/ciphers.component.ts +++ b/src/app/vault/ciphers.component.ts @@ -20,6 +20,7 @@ export class CiphersComponent { @Output() onCipherClicked = new EventEmitter(); @Output() onAddCipher = new EventEmitter(); + loaded: boolean = false; ciphers: CipherView[] = []; searchText: string; searchPlaceholder: string = null; @@ -36,6 +37,8 @@ export class CiphersComponent { } else { this.ciphers = ciphers.filter(this.filter); } + + this.loaded = true; } async refresh() {