From 9dd6bbe5ae5d1e9b28f4f7cb17be2709f4f616a8 Mon Sep 17 00:00:00 2001 From: Chirag <103994754+chiragnotionforms@users.noreply.github.com> Date: Mon, 28 Nov 2022 21:41:18 +0530 Subject: [PATCH] On copy link/code show msg for copied (#34) --- resources/js/components/open/forms/components/CopyContent.vue | 1 + resources/js/components/pages/forms/show/ExtraMenu.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/resources/js/components/open/forms/components/CopyContent.vue b/resources/js/components/open/forms/components/CopyContent.vue index ea6ed26..ae1444d 100644 --- a/resources/js/components/open/forms/components/CopyContent.vue +++ b/resources/js/components/open/forms/components/CopyContent.vue @@ -50,6 +50,7 @@ export default { el.select() document.execCommand('copy') document.body.removeChild(el) + this.alertSuccess('Copied!') } } } diff --git a/resources/js/components/pages/forms/show/ExtraMenu.vue b/resources/js/components/pages/forms/show/ExtraMenu.vue index 6e9a5fd..e072f4a 100644 --- a/resources/js/components/pages/forms/show/ExtraMenu.vue +++ b/resources/js/components/pages/forms/show/ExtraMenu.vue @@ -157,6 +157,7 @@ export default { el.select() document.execCommand('copy') document.body.removeChild(el) + this.alertSuccess('Copied!') }, duplicateForm() { if (this.loadingDuplicate) return