aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/settings/services/ServicesDashboard.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-12-09 01:01:12 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-12-09 01:01:12 +0100
commitf01957203f77fce8b65d5e034a8acd68f1e0ae2e (patch)
tree2f8d0d232266cdc7ed74e1913b270527f46bb33d /src/components/settings/services/ServicesDashboard.js
parentAdd dark mode styles to content tabs (diff)
downloadferdium-app-f01957203f77fce8b65d5e034a8acd68f1e0ae2e.tar.gz
ferdium-app-f01957203f77fce8b65d5e034a8acd68f1e0ae2e.tar.zst
ferdium-app-f01957203f77fce8b65d5e034a8acd68f1e0ae2e.zip
Upgrade to react 16
TODO: add componentDidCatch
Diffstat (limited to 'src/components/settings/services/ServicesDashboard.js')
-rw-r--r--src/components/settings/services/ServicesDashboard.js20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/components/settings/services/ServicesDashboard.js b/src/components/settings/services/ServicesDashboard.js
index e7dfaf106..a12df7372 100644
--- a/src/components/settings/services/ServicesDashboard.js
+++ b/src/components/settings/services/ServicesDashboard.js
@@ -101,17 +101,15 @@ export default @observer class ServicesDashboard extends Component {
101 /> 101 />
102 )} 102 )}
103 {!isLoading && servicesRequestFailed && ( 103 {!isLoading && servicesRequestFailed && (
104 <div> 104 <Infobox
105 <Infobox 105 icon="alert"
106 icon="alert" 106 type="danger"
107 type="danger" 107 ctaLabel={intl.formatMessage(messages.tryReloadServices)}
108 ctaLabel={intl.formatMessage(messages.tryReloadServices)} 108 ctaLoading={isLoading}
109 ctaLoading={isLoading} 109 ctaOnClick={retryServicesRequest}
110 ctaOnClick={retryServicesRequest} 110 >
111 > 111 {intl.formatMessage(messages.servicesRequestFailed)}
112 {intl.formatMessage(messages.servicesRequestFailed)} 112 </Infobox>
113 </Infobox>
114 </div>
115 )} 113 )}
116 114
117 {status.length > 0 && status.includes('updated') && ( 115 {status.length > 0 && status.includes('updated') && (