add attachment

This commit is contained in:
karimalden 2024-07-29 14:55:14 +03:00
parent 6977912c7f
commit 7a6dbd66d6

View File

@ -54,6 +54,9 @@ const useTableColumns :any = () => {
window.open(src, '_blank'); window.open(src, '_blank');
} }
}; };
if(!row?.attachment){
return <Button >no attachment</Button>
}
return <Button onClick={handleClick}>attachment</Button> return <Button onClick={handleClick}>attachment</Button>
} }
}, },