From e32e6f011422190a332f162a9a1dcd301579f591 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 27 May 2022 00:59:27 -0500 Subject: display an icon when an action is pending --- src/web/src/components/App.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js index 76881c93..7f488643 100644 --- a/src/web/src/components/App.js +++ b/src/web/src/components/App.js @@ -116,7 +116,7 @@ class App extends Component { render = () => { const { login, applicationState = {}, applicationOptions = {}, error, initialized, retriesExhausted } = this.state; - const { version = {}, server } = applicationState; + const { version = {}, server, pendingReconnect, pendingRestart, pendingShareRescan } = applicationState; const { isUpdateAvailable, current, latest } = version; if (!initialized) { @@ -212,6 +212,13 @@ class App extends Component { Disconnected } + {(pendingReconnect || pendingRestart || pendingShareRescan) && + + + + + Pending Action + } {isUpdateAvailable && -- cgit v1.2.3