0
Fork 0
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:
Andrés Moya 2020-07-20 15:19:06 +02:00
parent f33713912a
commit 37351744cd

View file

@ -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