mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 02:28:18 -05:00
✨ Hide "Copy link" until link is actually created
This commit is contained in:
parent
f33713912a
commit
37351744cd
1 changed files with 5 additions and 4 deletions
|
@ -107,10 +107,11 @@
|
|||
[:span.share-link-title (t locale "viewer.header.share.title")]
|
||||
[:div.share-link-input
|
||||
(if (string? token)
|
||||
[:*
|
||||
[:span.link link]
|
||||
[:span.link-placeholder (t locale "viewer.header.share.placeholder")])
|
||||
[:span.link-button {:on-click copy-link}
|
||||
(t locale "viewer.header.share.copy-link")]]
|
||||
[:span.link-placeholder (t locale "viewer.header.share.placeholder")])]
|
||||
|
||||
[:span.share-link-subtitle (t locale "viewer.header.share.subtitle")]
|
||||
[:div.share-link-buttons
|
||||
|
|
Loading…
Add table
Reference in a new issue