logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 95e74319e11e673ce0a6a53546eae98a0b9c3eb5
parent 709b75198d4e7051c7e1d310379bfeddad5c411f
Author: Henry Jameson <me@hjkos.com>
Date:   Sun, 25 Apr 2021 13:48:23 +0300

clean warnings from status

Diffstat:

Msrc/components/status/status.js8++------
Msrc/components/status/status.vue2+-
Msrc/components/status_content/status_content.js3++-
3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/components/status/status.js b/src/components/status/status.js @@ -83,7 +83,8 @@ const Status = { 'inlineExpanded', 'showPinned', 'inProfile', - 'profileUserId' + 'profileUserId', + 'virtualHidden' ], data () { return { @@ -336,11 +337,6 @@ const Status = { 'isSuspendable': function (val) { this.suspendable = val } - }, - filters: { - capitalize: function (str) { - return str.charAt(0).toUpperCase() + str.slice(1) - } } } diff --git a/src/components/status/status.vue b/src/components/status/status.vue @@ -182,7 +182,7 @@ <span v-if="status.visibility" class="visibility-icon" - :title="status.visibility | capitalize" + :title="status.visibility" > <FAIcon fixed-width diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js @@ -33,7 +33,8 @@ const StatusContent = { 'focused', 'noHeading', 'fullContent', - 'singleLine' + 'singleLine', + 'compact' ], data () { return {