We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd06e28 commit 429ceefCopy full SHA for 429ceef
app/components/Package/ShareModal.vue
@@ -148,6 +148,7 @@ function handleCopyLink() {
148
<div class="flex items-center gap-2">
149
<ButtonBase
150
:classicon="linkCopied ? 'i-lucide:check text-green-500' : 'i-lucide:link'"
151
+ :disabled="!imgLoaded"
152
@click="handleCopyLink"
153
>
154
{{ linkCopied ? 'Copied!' : 'Copy link' }}
@@ -175,7 +176,7 @@ function handleCopyLink() {
175
176
</Transition>
177
</div>
178
- <ButtonBase variant="primary" classicon="i-lucide:download" @click="downloadCard">
179
+ <ButtonBase variant="primary" classicon="i-lucide:download" :disabled="!imgLoaded" @click="downloadCard">
180
Download PNG
181
</ButtonBase>
182
0 commit comments