-
{t(block.labelKey)}
-
- {block.variables.map((variable) => (
-
- ))}
-
-
-
-
- {t('settings.notifications.copy.preview')}: {preview.title} — {preview.body}
-
+
+ {isOpen ? (
+
+
+
+
+
+
+
+ ) : null}
)
})}
-
copyMutation.mutate(draft)}
- disabled={copyMutation.isPending}
- className="rounded-lg bg-[var(--app-button)] px-3 py-2 text-sm font-medium text-[var(--app-button-text)] disabled:opacity-50"
- >
- {t('settings.notifications.copy.save')}
-
- )}
- />
+
+
+ {copySaved ? t('settings.notifications.copy.saved') : ''}
+
+
+
) : null}