Skip to content

Commit 3cd2cc5

Browse files
committed
Redirect to contributors page after successfully assigning datasets
1 parent 43b9589 commit 3cd2cc5

File tree

1 file changed

+1
-1
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/assign

1 file changed

+1
-1
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/assign/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const Assign = () => {
123123
onSuccess: (data: any) => {
124124
toast('Dataset Assigned Successfully');
125125
UseCaseDetails.refetch();
126-
router.push(`/dashboard/${params.entityType}/${params.entitySlug}/usecases/edit/${params.id}/publish`);
126+
router.push(`/dashboard/${params.entityType}/${params.entitySlug}/usecases/edit/${params.id}/contributors`);
127127
},
128128
onError: (err: any) => {
129129
toast(`Received ${err} on dataset publish `);

0 commit comments

Comments
 (0)