diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-22 22:29:13 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-22 22:29:13 +0000 |
| commit | 272b748f26d0bb7b9f3a00336a908d507f4169bc (patch) | |
| tree | e0d102a21b4a62aab390617b2b217341cb969e3d /src/components/extra_buttons/extra_buttons.js | |
| parent | a403f93b478eec67d779400b1fcfdc006bb787da (diff) | |
| parent | 88a3cf8705f925c31b5fad67d0fb709a51447156 (diff) | |
Merge branch 'develop' into 'allow-opening-profile-in-user-popover'
# Conflicts:
# src/components/settings_modal/tabs/general_tab.vue
Diffstat (limited to 'src/components/extra_buttons/extra_buttons.js')
| -rw-r--r-- | src/components/extra_buttons/extra_buttons.js | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js index 22ffb65a..68fa66ad 100644 --- a/src/components/extra_buttons/extra_buttons.js +++ b/src/components/extra_buttons/extra_buttons.js @@ -6,7 +6,9 @@ import { faEyeSlash, faThumbtack, faShareAlt, - faExternalLinkAlt + faExternalLinkAlt, + faPlus, + faTimes } from '@fortawesome/free-solid-svg-icons' import { faBookmark as faBookmarkReg, @@ -21,13 +23,26 @@ library.add( faThumbtack, faShareAlt, faExternalLinkAlt, - faFlag + faFlag, + faPlus, + faTimes ) const ExtraButtons = { props: ['status'], components: { Popover }, + data () { + return { + expanded: false + } + }, methods: { + onShow () { + this.expanded = true + }, + onClose () { + this.expanded = false + }, deleteStatus () { const confirmed = window.confirm(this.$t('status.delete_confirm')) if (confirmed) { |
