ensure loading screen is only shown if we havent already rendered some bounties

This commit is contained in:
Martin Klepsch 2018-04-23 15:43:45 +02:00 committed by Tetiana Churikova
parent a20209e6c7
commit 6e9a72a4b5
1 changed files with 3 additions and 1 deletions

View File

@ -335,7 +335,9 @@
[:div.bg-white.br3.shadow-6.pa4.tc
[:h3 "Please log in to view this page."]]
(or (nil? @owner-bounties-loading?) @owner-bounties-loading?)
(and
(empty? @owner-bounties)
(or (nil? @owner-bounties-loading?) @owner-bounties-loading?))
[manage-payouts-loading]
:else