diff --git a/static/js/components/LoraCard.js b/static/js/components/LoraCard.js
index 7c1427fb..87a536bb 100644
--- a/static/js/components/LoraCard.js
+++ b/static/js/components/LoraCard.js
@@ -39,7 +39,7 @@ export function createLoraCard(lora) {
${!lora.from_civitai ? 'style="opacity: 0.5; cursor: not-allowed"' : ''}>
+ title="Copy LoRA Syntax">
@@ -80,8 +80,12 @@ export function createLoraCard(lora) {
// Copy button click event
card.querySelector('.fa-copy')?.addEventListener('click', e => {
e.stopPropagation();
- navigator.clipboard.writeText(card.dataset.file_name)
- .then(() => showToast('Model name copied', 'success'))
+ const usageTips = JSON.parse(card.dataset.usage_tips || '{}');
+ const strength = usageTips.strength || 1;
+ const loraSyntax = ``;
+
+ navigator.clipboard.writeText(loraSyntax)
+ .then(() => showToast('LoRA syntax copied', 'success'))
.catch(() => showToast('Copy failed', 'error'));
});
diff --git a/templates/components/context_menu.html b/templates/components/context_menu.html
index 4900171a..aa6cb21d 100644
--- a/templates/components/context_menu.html
+++ b/templates/components/context_menu.html
@@ -9,7 +9,7 @@
Refresh Civitai Data