diff options
| author | bobzel <zzzman@gmail.com> | 2023-07-18 12:57:46 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-07-18 12:57:46 -0400 |
| commit | cc36dc14d32ee15727ed6153b019e80586b8285e (patch) | |
| tree | b90c2277264db1b6ab753a5c9489f0c39ee08ff1 /src/client/util | |
| parent | 16a1b7de3ec26187b3a426eb037a5e4f4b9fcc55 (diff) | |
got rid of snapshot dashboard topbar menu item. fixed server stats background. got rid of import document from doc view context menu.
Diffstat (limited to 'src/client/util')
| -rw-r--r-- | src/client/util/ServerStats.tsx | 4 |
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' : |
