diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-03-07 16:36:09 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-03-07 16:36:09 +0300 |
commit | 647e99b527e0ec27039cc7444c8b1cce86cb114f (patch) | |
tree | 63a1e282743d9f778c668656dc01b499a82146fd /src | |
parent | 6b184408a69f88ed75ee9121df719e9c448fed1d (diff) |
Fix initial loading of home component
On the first render of the home component, there is no active account.
However, the folder content component expects one. This make the folder
content render only if the active account is available.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src')
-rw-r--r-- | src/views/Home.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/Home.vue b/src/views/Home.vue index c0dc6b03d..aaec6f5f9 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -2,7 +2,7 @@ <AppContent v-shortkey.once="['c']" app-name="mail" @shortkey.native="onNewMessage"> <Navigation slot="navigation" /> <template slot="content"> - <FolderContent :account="activeAccount" :folder="activeFolder" /> + <FolderContent v-if="activeAccount" :account="activeAccount" :folder="activeFolder" /> </template> </AppContent> </template> |