clean warnings from status

This commit is contained in:
Henry Jameson 2021-04-25 13:48:23 +03:00
parent 709b75198d
commit 95e74319e1
3 changed files with 5 additions and 8 deletions

View file

@ -83,7 +83,8 @@ const Status = {
'inlineExpanded', 'inlineExpanded',
'showPinned', 'showPinned',
'inProfile', 'inProfile',
'profileUserId' 'profileUserId',
'virtualHidden'
], ],
data () { data () {
return { return {
@ -336,11 +337,6 @@ const Status = {
'isSuspendable': function (val) { 'isSuspendable': function (val) {
this.suspendable = val this.suspendable = val
} }
},
filters: {
capitalize: function (str) {
return str.charAt(0).toUpperCase() + str.slice(1)
}
} }
} }

View file

@ -182,7 +182,7 @@
<span <span
v-if="status.visibility" v-if="status.visibility"
class="visibility-icon" class="visibility-icon"
:title="status.visibility | capitalize" :title="status.visibility"
> >
<FAIcon <FAIcon
fixed-width fixed-width

View file

@ -33,7 +33,8 @@ const StatusContent = {
'focused', 'focused',
'noHeading', 'noHeading',
'fullContent', 'fullContent',
'singleLine' 'singleLine',
'compact'
], ],
data () { data () {
return { return {