aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-08-23 12:32:42 -0400
committerbobzel <zzzman@gmail.com>2023-08-23 12:32:42 -0400
commit1367f56a7898a125d46d9ebfb8cbfe81617180ad (patch)
tree886dbdaa13217d814e91e01b32cb46c64394cbc0
parentf42be1264f5272a73a58ca80d84e9d9f7b842a1d (diff)
fixed setting dashboard color
-rw-r--r--src/client/views/DashboardView.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx
index 3e4827c83..5a821faee 100644
--- a/src/client/views/DashboardView.tsx
+++ b/src/client/views/DashboardView.tsx
@@ -47,12 +47,12 @@ export class DashboardView extends React.Component {
@action abortCreateNewDashboard = () => {
this.newDashboardName = undefined;
};
- @action setNewDashboardName(name: string) {
+ @action setNewDashboardName = (name: string) => {
this.newDashboardName = name;
- }
- @action setNewDashboardColor(color: string) {
+ };
+ @action setNewDashboardColor = (color: string) => {
this.newDashboardColor = color;
- }
+ };
@action
selectDashboardGroup = (group: DashboardGroup) => {