1
0

feat: migrate kanban card to script setup

This commit is contained in:
kolaente
2022-10-02 12:28:57 +02:00
parent b08dd58552
commit a5925baff0
3 changed files with 43 additions and 62 deletions

View File

@ -28,7 +28,7 @@ if (!SUPPORTS_TRIGGERED_NOTIFICATION) {
console.debug('This browser does not support triggered notifications')
}
export function getHexColor(hexColor: string) {
export function getHexColor(hexColor: string): string {
if (hexColor === '' || hexColor === '#') {
return TASK_DEFAULT_COLOR
}