priyasirohi09 / joplin

Other
2 stars 91 forks source link

"Empty Trash" button active when Trash folder is empty #268

Open vivek-anand-singh opened 3 months ago

vivek-anand-singh commented 3 months ago

When the Trash folder is empty in the Joplin application, the "Empty Trash" button still appears as an actionable option. However, since there are no notes in the Trash, this button should either be disabled or not displayed at all. This would prevent confusion and improve the user experience.

Steps to Reproduce:

Open the Joplin application. Navigate to the Trash folder. Observe that the Trash folder is empty, but the "Empty Trash" button is still displayed as clickable. Expected Behavior: When the Trash folder is empty, the "Empty Trash" button should be disabled or hidden, indicating there is nothing to delete.

Screenshots:

WhatsApp Image 2024-08-12 at 16 44 07_9824c355

Environment:

Joplin Version: 1.05 OS: Windows

HUN-sp commented 3 months ago

@priyasirohi09 plz assign it to me