Incorrect Prompt Displayed When Deleting Categories without notes
XYIheng opened this issue · comments
Yiheng Xiong commented
Description:
When attempting to delete a category that contains no notes, the app erroneously displays a prompt indicating that this category is used by some notes.
I think if there are no notes under the category, the prompt shouldn't be displayed. Because the prompt indicates that there are notes in the category.
Reproduce steps:
- create a new category 'A' in one note
- assign the note to another category. (so there is no note under the category 'A' )
- delete the category 'A'
- see the error: a prompt displays
Expected behavior:
If there are no notes under the category, then the prompt should not display
Bug video:
bug_category_delete.mp4
Environment:
Omninotes Version: 6.3.0Alpha
Yiheng Xiong commented
Thanks for your fix!