From bc524178e394672b67d9d6ac079e07162e3dab19 Mon Sep 17 00:00:00 2001 From: Kaustubh Maske Patil <37668193+nikochiko@users.noreply.github.com> Date: Tue, 20 Feb 2024 18:53:09 +0530 Subject: [PATCH] Copy Link button: add current tab to the URL --- daras_ai_v2/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daras_ai_v2/base.py b/daras_ai_v2/base.py index 0fc63ea33..62bba29d9 100644 --- a/daras_ai_v2/base.py +++ b/daras_ai_v2/base.py @@ -320,7 +320,7 @@ def _render_social_buttons(self, show_button_text: bool = False): copy_to_clipboard_button( f'{button_text}', - value=self._get_current_app_url(), + value=self.get_tab_url(self.tab), type="secondary", className="mb-0 ms-lg-2", )