mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 09:02:11 +03:00
parent
7e264565ef
commit
802bd5db5d
@ -27,7 +27,6 @@ export function ShowPageAddButton({
|
||||
const openCreateActivity = useOpenCreateActivityDrawer();
|
||||
|
||||
function handleSelect(type: ActivityType) {
|
||||
console.log(type, entity);
|
||||
openCreateActivity(type, [entity]);
|
||||
closeDropdownButton();
|
||||
}
|
||||
@ -59,7 +58,7 @@ export function ShowPageAddButton({
|
||||
Note
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem
|
||||
onClick={() => handleSelect(ActivityType.Note)}
|
||||
onClick={() => handleSelect(ActivityType.Task)}
|
||||
accent="regular"
|
||||
>
|
||||
<IconCheckbox size={16} />
|
||||
|
Loading…
Reference in New Issue
Block a user