From 324dc3fa4fd9982286d2a76bfd8ea386a025bd4b Mon Sep 17 00:00:00 2001 From: Travis Eden Date: Tue, 19 Jun 2018 15:52:14 -0400 Subject: [PATCH] show loader when loading prop is true --- src/renderer/component/page/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/component/page/view.jsx b/src/renderer/component/page/view.jsx index 9af308b79..fd52492ed 100644 --- a/src/renderer/component/page/view.jsx +++ b/src/renderer/component/page/view.jsx @@ -69,7 +69,7 @@ class Page extends React.PureComponent { // We don't want to show the loading spinner right away if it will only flash on the // screen for a short time, wait until we know it will be loading for a bit before showing it - const shouldShowLoader = !isShowingChildren(children) && showLoader; + const shouldShowLoader = loading || (!isShowingChildren(children) && showLoader); return (