Fix create task (#7498)
Fixing issue introduced by [Add Skeleton loading for side panel](https://github.com/twentyhq/twenty/pull/7394/files#top): https://github.com/user-attachments/assets/6c8e299c-d663-4aa7-83ed-ca7041cd15e7
This commit is contained in:
@ -67,8 +67,8 @@ export const useOpenCreateActivityDrawer = ({
|
||||
targetableObjects: ActivityTargetableObject[];
|
||||
customAssignee?: WorkspaceMember;
|
||||
}) => {
|
||||
openRightDrawer(RightDrawerPages.ViewRecord);
|
||||
setIsNewViewableRecordLoading(true);
|
||||
openRightDrawer(RightDrawerPages.ViewRecord);
|
||||
setViewableRecordId(null);
|
||||
setViewableRecordNameSingular(activityObjectNameSingular);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user