forked from AkkomaGang/akkoma-fe
clean warnings from status
This commit is contained in:
parent
709b75198d
commit
95e74319e1
3 changed files with 5 additions and 8 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -182,7 +182,7 @@
|
|||
<span
|
||||
v-if="status.visibility"
|
||||
class="visibility-icon"
|
||||
:title="status.visibility | capitalize"
|
||||
:title="status.visibility"
|
||||
>
|
||||
<FAIcon
|
||||
fixed-width
|
||||
|
|
|
@ -33,7 +33,8 @@ const StatusContent = {
|
|||
'focused',
|
||||
'noHeading',
|
||||
'fullContent',
|
||||
'singleLine'
|
||||
'singleLine',
|
||||
'compact'
|
||||
],
|
||||
data () {
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue