(text: string)
| 20 | const { t } = useTranslation(); |
| 21 | const { tooltipEditTitle, tooltipDeleteTitle } = tooltipTitle(); |
| 22 | const handleCopy = (text: string) => { |
| 23 | const clipboard = new ClipboardJS('.icon-copy', { |
| 24 | text: () => text |
| 25 | }); |
| 26 | clipboard.on('success', function () { |
| 27 | toast.success(`${t('CopiedToClipboard')}`) |
| 28 | clipboard.destroy() |
| 29 | }); |
| 30 | clipboard.on('error', function (e) { |
| 31 | console.log(e); |
| 32 | }); |
| 33 | } |
| 34 | const columns = [ |
| 35 | { |
| 36 | title: `${t('projectModelID')}`, |