From 07d0143bda8d35b9743731711a2085f8399168c5 Mon Sep 17 00:00:00 2001 From: taehoon Date: Thu, 16 May 2019 13:45:18 -0400 Subject: hide three dot menu button if has no items --- src/components/extra_buttons/extra_buttons.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/extra_buttons/extra_buttons.js') diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js index f70ecd1d..528da301 100644 --- a/src/components/extra_buttons/extra_buttons.js +++ b/src/components/extra_buttons/extra_buttons.js @@ -54,6 +54,9 @@ const ExtraButtons = { }, canPin () { return this.ownStatus && (this.status.visibility === 'public' || this.status.visibility === 'unlisted') + }, + enabled () { + return this.canPin || this.canDelete } } } -- cgit v1.2.3-70-g09d2