commit: 95e74319e11e673ce0a6a53546eae98a0b9c3eb5
parent 709b75198d4e7051c7e1d310379bfeddad5c411f
Author: Henry Jameson <me@hjkos.com>
Date: Sun, 25 Apr 2021 13:48:23 +0300
clean warnings from status
Diffstat:
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 {