diff options
| author | Mark Felder <feld@FreeBSD.org> | 2020-03-30 12:39:28 -0500 |
|---|---|---|
| committer | Mark Felder <feld@FreeBSD.org> | 2020-03-30 12:39:28 -0500 |
| commit | 8c5946b72881c38ce43a4b25bda8a38d4f08aac3 (patch) | |
| tree | d0db47014f91afe8937e69f002c17acecf7356b8 /src/components/extra_buttons/extra_buttons.vue | |
| parent | 6e14fb292ce6f5bb76d5a46309536d0a6ca4e067 (diff) | |
Add button in 3dot menu to copy status link to clipboard
Diffstat (limited to 'src/components/extra_buttons/extra_buttons.vue')
| -rw-r--r-- | src/components/extra_buttons/extra_buttons.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/extra_buttons/extra_buttons.vue b/src/components/extra_buttons/extra_buttons.vue index 3a7f1283..c785a180 100644 --- a/src/components/extra_buttons/extra_buttons.vue +++ b/src/components/extra_buttons/extra_buttons.vue @@ -1,6 +1,5 @@ <template> <Popover - v-if="canDelete || canMute || canPin" trigger="click" placement="top" class="extra-button-popover" @@ -45,6 +44,13 @@ > <i class="icon-cancel" /><span>{{ $t("status.delete") }}</span> </button> + <button + v-close-popover + class="dropdown-item dropdown-item-icon" + @click.prevent="copyLink" + > + <i class="icon-share" /><span>{{ $t("status.copy_link") }}</span> + </button> </div> </div> <i |
