We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TUI has the feature, but it looks nothing in WebUI
#30 might be related, but I think automation is not mandatory
The text was updated successfully, but these errors were encountered:
diff --git a/hashira-web/src/hooks.ts b/hashira-web/src/hooks.ts index 5fbf11c..10cfec4 100644 --- a/hashira-web/src/hooks.ts +++ b/hashira-web/src/hooks.ts @@ -66,7 +66,13 @@ export const useUpdateTasks = (): [ }); firebase - .updateTasks(tasks) + .updateTasks( + Object.fromEntries( + Object.entries(tasks).map( + ([key, task], _) => [key, { ...task, IsDeleted: true }], + ), + ), + )
This is my hack to remove a task
Sorry, something went wrong.
const tasksToMarkAsDone: firebase.TasksObject = {}; for (const v in checkedTasks) { if (checkedTasks[v]) { const task = tasksAndPriorities["Tasks"][v]; tasksToMarkAsDone[v] = { ID: task.ID, IsDeleted: task.Place === "DONE", Name: task.Name, Place: "DONE", }; }
Ah... calling Mark as Done twice deletes it...
Mark as Done
No branches or pull requests
TUI has the feature, but it looks nothing in WebUI
#30 might be related, but I think automation is not mandatory
The text was updated successfully, but these errors were encountered: