fix(FE): fixing issue reject modal show up when creating project flock

This commit is contained in:
randy-ar
2026-01-06 13:29:05 +07:00
parent f7d1beffcf
commit 841aadc107
2 changed files with 5 additions and 133 deletions
@@ -308,7 +308,10 @@ const ProjectFlockTable = ({ refresh }: { refresh?: () => void }) => {
<Button
color='primary'
className='w-full sm:w-fit'
href='/production/project-flock/add'
onClick={() => {
setRowSelection({});
router.push('/production/project-flock/add');
}}
>
<Icon icon='ic:round-plus' width={24} height={24} />
Tambah