We are currently migrating all git repositories to new storage. In the unlikely event that you attempt to write to your git repo at the exact time it is being moved, you will receive a message about your repository being write protected.

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