Skip to content

Commit

Permalink
Copy Link button: add current tab to the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
nikochiko authored and devxpy committed Feb 27, 2024
1 parent ca5d033 commit 7cc3493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daras_ai_v2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def _render_social_buttons(self, show_button_text: bool = False):

copy_to_clipboard_button(
f'<i class="fa-regular fa-link"></i>{button_text}',
value=self._get_current_app_url(),
value=self.get_tab_url(self.tab),
type="secondary",
className="mb-0 ms-lg-2",
)
Expand Down

0 comments on commit 7cc3493

Please sign in to comment.