diff options
| author | bobzel <zzzman@gmail.com> | 2023-07-18 10:06:36 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-07-18 10:06:36 -0400 |
| commit | 4b6ab0f2e0fd5253056dabafe5e8eb52b023305a (patch) | |
| tree | 0e39453fef2c194dcd30d106554c122c57a7df53 /src/client/views/DashboardView.tsx | |
| parent | 80eac769ad0ef56f0d050aae96ffb38a5aa5974a (diff) | |
made text color readable for shared dashboards. fixed inking to not crash
Diffstat (limited to 'src/client/views/DashboardView.tsx')
| -rw-r--r-- | src/client/views/DashboardView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx index cf746bbb3..1a5781df0 100644 --- a/src/client/views/DashboardView.tsx +++ b/src/client/views/DashboardView.tsx @@ -182,7 +182,7 @@ export class DashboardView extends React.Component { <Button text={'Shared Dashboards' + ' (' + this.getDashboards(DashboardGroup.SharedDashboards).length + ')'} active={this.selectedDashboardGroup === DashboardGroup.SharedDashboards} - color={this.getDashboards(DashboardGroup.SharedDashboards).some(dash => !DocListCast(Doc.MySharedDocs.viewed).includes(dash)) ? 'lightgreen' : color} + color={this.getDashboards(DashboardGroup.SharedDashboards).some(dash => !DocListCast(Doc.MySharedDocs.viewed).includes(dash)) ? 'green' : color} align={'flex-start'} onClick={() => this.selectDashboardGroup(DashboardGroup.SharedDashboards)} fillWidth @@ -199,7 +199,7 @@ export class DashboardView extends React.Component { <div className="dashboard-container" key={dashboard[Id]} - style={{ background: this.isUnviewedSharedDashboard(dashboard) && this.selectedDashboardGroup === DashboardGroup.SharedDashboards ? 'lightgreen' : shared ? 'lightblue' : '' }} + style={{ background: this.isUnviewedSharedDashboard(dashboard) && this.selectedDashboardGroup === DashboardGroup.SharedDashboards ? 'green' : shared ? 'blue' : '' }} onContextMenu={e => this.onContextMenu(dashboard, e)} onClick={e => this.clickDashboard(e, dashboard)}> <img |
