Commit 64f366b1 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

show copy link only if supported

parent 77468b07
......@@ -18,7 +18,7 @@
</template>
</v-snackbar>
<v-btn v-if="!webShareApiSupported || $vuetify.breakpoint.mdAndUp"
<v-btn v-if="(!webShareApiSupported || $vuetify.breakpoint.mdAndUp) && navigator.clipboard"
x-small depressed class="toolbar-button" rounded tabindex="0" @click="copy_link">
<v-icon small>link</v-icon><span class = "button-text">Kopier lenke</span>
</v-btn>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment