feat: setting default attributes after deal creating
This commit is contained in:
@ -34,7 +34,7 @@ const PageBody = () => {
|
||||
if (view === "table") {
|
||||
return { withPagination: true, projectId: selectedProject?.id };
|
||||
}
|
||||
return { boardId: selectedBoard?.id };
|
||||
return { boardId: selectedBoard?.id, projectId: selectedProject?.id };
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
@ -54,6 +54,7 @@ const useDealsContextState = ({
|
||||
|
||||
const dealsCrud = useDealsCrud({
|
||||
...dealsListObjects,
|
||||
projectId,
|
||||
boardId,
|
||||
statuses,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user