aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/ServerStats.tsx
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2023-07-18 13:31:23 -0400
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2023-07-18 13:31:23 -0400
commitc9da65d4f81c437578303f9656b29ae320aa11c3 (patch)
tree3dc35189f08cbb8f61a0bca984c1a8873f711a23 /src/client/util/ServerStats.tsx
parentfc0409fc2996d7666c48bbd8abf5c530262c39ae (diff)
parent5da0b8c1e12abe13d60361af4f6bbb8454b6814d (diff)
Merge branch 'master' of https://github.com/brown-dash/Dash-Web
Diffstat (limited to 'src/client/util/ServerStats.tsx')
-rw-r--r--src/client/util/ServerStats.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/util/ServerStats.tsx b/src/client/util/ServerStats.tsx
index b6aa4d95a..6a6ec158e 100644
--- a/src/client/util/ServerStats.tsx
+++ b/src/client/util/ServerStats.tsx
@@ -4,6 +4,8 @@ import * as React from 'react';
import { MainViewModal } from '../views/MainViewModal';
import './SharingManager.scss';
import { PingManager } from './PingManager';
+import { StrCast } from '../../fields/Types';
+import { Doc } from '../../fields/Doc';
@observer
export class ServerStats extends React.Component<{}> {
@@ -44,7 +46,7 @@ export class ServerStats extends React.Component<{}> {
display: "flex",
height: 300,
width: 400,
- background: "black",
+ background: StrCast(Doc.UserDoc().userBackgroundColor),
opacity: 0.6}}>
<div style={{width: 300,height: 100,margin: "auto",display: "flex",flexDirection: "column"}}>
{PingManager.Instance.IsBeating ? 'The server connection is active' :