add attachment
This commit is contained in:
parent
6977912c7f
commit
7a6dbd66d6
|
|
@ -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>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user