diff --git a/apps/web/src/common/dialog-controller.tsx b/apps/web/src/common/dialog-controller.tsx index 6e8b72b7e..b92bf5c19 100644 --- a/apps/web/src/common/dialog-controller.tsx +++ b/apps/web/src/common/dialog-controller.tsx @@ -381,7 +381,7 @@ export function showRenameColorDialog(color: Color) { onClose={() => perform(false)} onAction={async (title: string) => { if (!title) return; - await db.tags.add({ id: color.id, title }); + await db.colors.add({ id: color.id, title }); showToast("success", "Color renamed!"); appStore.refreshNavItems(); perform(true);