From 31605365f9d47a3bd960c3ccb6f51cfc52011dd7 Mon Sep 17 00:00:00 2001 From: les Date: Fri, 7 May 2021 23:14:48 +0200 Subject: [PATCH] use bar to show today in calendar --- assets/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/helper.js b/assets/helper.js index a192818f..3f46c3cb 100644 --- a/assets/helper.js +++ b/assets/helper.js @@ -6,7 +6,7 @@ export function attributesFromEvents (_events, _tags) { const colors = ['blue', 'orange', 'yellow', 'teal', 'indigo', 'green', 'red', 'purple', 'pink', 'gray'] const tags = take(_tags, 10).map(t => t.tag) let attributes = [] - attributes.push({ key: 'today', dates: new Date(), highlight: { color: 'green', fillMode: 'outline' } }) + attributes.push({ key: 'today', dates: new Date(), bar: { color: 'green', fillMode: 'outline' } }) const now = dayjs().unix() function getColor (event) {