- $emit('click', event)" />
+ $emit('click', event)" />
diff --git a/webapp/components/_new/generic/UserAvatar/UserAvatar.vue b/webapp/components/_new/generic/UserAvatar/UserAvatar.vue
index 578bfb7a6..7dc63f52f 100644
--- a/webapp/components/_new/generic/UserAvatar/UserAvatar.vue
+++ b/webapp/components/_new/generic/UserAvatar/UserAvatar.vue
@@ -18,7 +18,7 @@ export default {
size: {
type: String,
required: false,
- validator: value => {
+ validator: (value) => {
return value.match(/(small|large)/)
},
},
@@ -34,11 +34,7 @@ export default {
userInitials() {
if (this.isAnonymous) return ''
- return this.user.name
- .match(/\b\w/g)
- .join('')
- .substring(0, 3)
- .toUpperCase()
+ return this.user.name.match(/\b\w/g).join('').substring(0, 3).toUpperCase()
},
},
}
diff --git a/webapp/components/features/FiledReportsTable/FiledReportsTable.spec.js b/webapp/components/features/FiledReportsTable/FiledReportsTable.spec.js
index 93f48ff9e..4931ea6c6 100644
--- a/webapp/components/features/FiledReportsTable/FiledReportsTable.spec.js
+++ b/webapp/components/features/FiledReportsTable/FiledReportsTable.spec.js
@@ -5,7 +5,7 @@ import { reports } from '~/components/features/ReportList/ReportList.story.js'
const localVue = global.localVue
-localVue.filter('truncate', string => string)
+localVue.filter('truncate', (string) => string)
config.stubs['client-only'] = '