fix copy template not avaiable in company context

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2026-02-18 18:45:42 +01:00
parent e7304eef1a
commit 711b97d173
@@ -696,11 +696,7 @@
on:click={() => openUpdateModal(template.id)}
{...globalButtonDisabledAttributes(template, contextCompanyID)}
/>
<TableCopyButton
title={'Copy'}
on:click={() => openCopyModal(template.id)}
{...globalButtonDisabledAttributes(template, contextCompanyID)}
/>
<TableCopyButton title={'Copy'} on:click={() => openCopyModal(template.id)} />
{#if template.smtpConfigurationID}
<TableDropDownButton
name="Allow listing"