taniarascia / takenote

📝 ‎ A web-based notes app for developers.

Home Page:https://takenote.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] 'Remove category' option still shown on note when category is removed

lucasvribeiro opened this issue · comments

To Reproduce

  1. Create a new category
  2. Move some note to this category
  3. Delete the new category premanently
  4. Back to Notes and open the options of a note that was in the removed category
    Result: 'Remove category' option is still there

Expected behavior
The 'Remove category' option should disappear from the note options when the above situation happens.

Actual behavior
The 'Remove category' option still exists even if the category has already been removed.