aboutsummaryrefslogtreecommitdiff
path: root/src/store.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-12-29 16:17:39 +1100
committerTerry Truong <terry06890@gmail.com>2022-12-29 16:20:26 +1100
commit20d69469a4c80a196de23625d0420487b0ed04a6 (patch)
treee3a7aad153e72322c0810c66bda3b70daa8d815a /src/store.ts
parent4ad7206443660587a15a7b47384b927188155da8 (diff)
Show event-count data on timeline
Backend: Send event-count data to client in EventResponse instance Fix certain usages of gregorian calendar instead of julian Move HistDate, SCALES, etc, into cal.py Frontend: Make App update a unitCountMaps object using event-count data from server Make TimeLine show visual indication of unit counts Add showEventCounts option to store Update unit tests
Diffstat (limited to 'src/store.ts')
-rw-r--r--src/store.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/store.ts b/src/store.ts
index 5f30bc6..d3ece49 100644
--- a/src/store.ts
+++ b/src/store.ts
@@ -40,6 +40,7 @@ export const useStore = defineStore('store', {
initialStartDate: new CalDate(1900, 1, 1),
initialEndDate: new CalDate(2000, 1, 1),
color,
+ showEventCounts: true,
transitionDuration: 300,
};
},