Skip to content

Commit 96cdfb6

Browse files
committed
Fix upgrade function to include '#' char in stringToHue
1 parent b153f33 commit 96cdfb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/db/AppDB.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default class AppDB extends Dexie {
5959
tagsTable.bulkAdd(
6060
[...tags].map((tag) => ({
6161
name: tag,
62-
hue: stringToHue(tag),
62+
hue: stringToHue(`#${tag}`),
6363
})),
6464
);
6565
});

0 commit comments

Comments
 (0)