Skip to content

Commit

Permalink
Fix upgrade function to include '#' char in stringToHue
Browse files Browse the repository at this point in the history
  • Loading branch information
derwebcoder committed Oct 16, 2024
1 parent b153f33 commit 96cdfb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/db/AppDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default class AppDB extends Dexie {
tagsTable.bulkAdd(
[...tags].map((tag) => ({
name: tag,
hue: stringToHue(tag),
hue: stringToHue(`#${tag}`),
})),
);
});
Expand Down

0 comments on commit 96cdfb6

Please sign in to comment.