forked from twentyhq/twenty
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed condition on which 'Add task' button is displayed (twentyhq#7333
) (twentyhq#7362) This PR addresses issue twentyhq#7333. It updates the condition for displaying the 'Add task' button. The button is now only visible for the 'TODO' section or when no 'TODO' block is present (i.e., there are no tasks in this category). Additionally, I removed the unused showAddButton, which is no longer necessary due to the updated logic. ![image](https://github.com/user-attachments/assets/571542d7-1b0f-4b91-afcf-4592490f1f72) ![image](https://github.com/user-attachments/assets/46974459-d3cd-497a-a6b6-9302cbff7716) --------- Co-authored-by: Nitin Koche <[email protected]>
- Loading branch information
1 parent
d81ec57
commit 2318fd6
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters