diff --git a/packages/server-admin-ui/src/views/Dashboard/Dashboard.js b/packages/server-admin-ui/src/views/Dashboard/Dashboard.js
index f1d6adb8d..26bbd0f65 100644
--- a/packages/server-admin-ui/src/views/Dashboard/Dashboard.js
+++ b/packages/server-admin-ui/src/views/Dashboard/Dashboard.js
@@ -82,21 +82,21 @@ const Dashboard = (props) => {
linkType = providerStatus.find(
(item) => item.id === providerId
).statusType
- } catch (error) {}
+ } catch (error) { }
const inputPulseIconClass =
'icon-login' +
(providerStats.deltaRate > 50
? ' text-primary fa-pulse-fast'
: providerStats.deltaRate > 0
- ? ' text-primary fa-pulse'
- : '')
+ ? ' text-primary fa-pulse'
+ : '')
const outputPulseIconClass =
'icon-logout' +
(providerStats.writeRate > 50
? ' text-primary fa-pulse-fast'
: providerStats.writeRate > 0
- ? ' text-primary fa-pulse'
- : '')
+ ? ' text-primary fa-pulse'
+ : '')
if (linkType === 'provider') {
return (
{
}
})}
-
+
Plugins activity
{Object.keys(providerStatistics || {}).sort().map((providerId) => {
@@ -184,21 +184,21 @@ const Dashboard = (props) => {
linkType = providerStatus.find(
(item) => item.id === providerId
).statusType
- } catch (error) {}
+ } catch (error) { }
const inputPulseIconClass =
'icon-login' +
(providerStats.deltaRate > 50
? ' text-primary fa-pulse-fast'
: providerStats.deltaRate > 0
- ? ' text-primary fa-pulse'
- : '')
+ ? ' text-primary fa-pulse'
+ : '')
const outputPulseIconClass =
'icon-logout' +
(providerStats.writeRate > 50
? ' text-primary fa-pulse-fast'
: providerStats.writeRate > 0
- ? ' text-primary fa-pulse'
- : '')
+ ? ' text-primary fa-pulse'
+ : '')
if (linkType === 'plugin') {
return (
- {
const lastError =
status.lastError && status.lastError != status.message
? status.lastErrorTimeStamp +
- ': ' +
- status.lastError
+ ': ' +
+ status.lastError
: ''
return (
{
onClick={() => {
props.history.push(
'/serverConfiguration/' +
- (status.statusType === 'plugin'
- ? 'plugins/'
- : 'connections/') +
- status.id
+ (status.statusType === 'plugin'
+ ? 'plugins/'
+ : 'connections/') +
+ status.id
)
}}
>