mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
Added a highlight on today's date in To-Dos cal
This commit is contained in:
@@ -88,7 +88,8 @@
|
|||||||
:clearButtonText='$t("clear")',
|
:clearButtonText='$t("clear")',
|
||||||
:todayButton='!challengeAccessRequired',
|
:todayButton='!challengeAccessRequired',
|
||||||
:todayButtonText='$t("today")',
|
:todayButtonText='$t("today")',
|
||||||
:disabled-picker='challengeAccessRequired'
|
:disabled-picker='challengeAccessRequired',
|
||||||
|
:highlighted='calendarHighlights'
|
||||||
)
|
)
|
||||||
.option(v-if="task.type === 'daily'")
|
.option(v-if="task.type === 'daily'")
|
||||||
.form-group
|
.form-group
|
||||||
@@ -717,6 +718,7 @@ export default {
|
|||||||
con: 'constitution',
|
con: 'constitution',
|
||||||
per: 'perception',
|
per: 'perception',
|
||||||
},
|
},
|
||||||
|
calendarHighlights: { dates: [new Date()]},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
|||||||
Reference in New Issue
Block a user