summaryrefslogtreecommitdiffstats
path: root/apps/settings/src/components/PersonalInfo/HeadlineSection/Headline.vue
diff options
context:
space:
mode:
authorPytal <24800714+Pytal@users.noreply.github.com>2022-06-28 16:30:18 -0700
committerGitHub <noreply@github.com>2022-06-28 16:30:18 -0700
commit6efcb377de69ec5568842f1d8cdf530de96f9f0b (patch)
tree379680f18ea5e536498e0c4ff8dfc7c7afb14bd2 /apps/settings/src/components/PersonalInfo/HeadlineSection/Headline.vue
parentcb7853c61f46da2b32279fbceee6e38c41238e9e (diff)
parent05d53c6340ffd345e7d88e19a7ee06d6b385d410 (diff)
downloadnextcloud-server-6efcb377de69ec5568842f1d8cdf530de96f9f0b.tar.gz
nextcloud-server-6efcb377de69ec5568842f1d8cdf530de96f9f0b.zip
Merge pull request #33053 from nextcloud/fix/undefined-logger
Diffstat (limited to 'apps/settings/src/components/PersonalInfo/HeadlineSection/Headline.vue')
-rw-r--r--apps/settings/src/components/PersonalInfo/HeadlineSection/Headline.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/src/components/PersonalInfo/HeadlineSection/Headline.vue b/apps/settings/src/components/PersonalInfo/HeadlineSection/Headline.vue
index 2b81169bb4b..4cb7d63b522 100644
--- a/apps/settings/src/components/PersonalInfo/HeadlineSection/Headline.vue
+++ b/apps/settings/src/components/PersonalInfo/HeadlineSection/Headline.vue
@@ -47,6 +47,7 @@ import debounce from 'debounce'
import { ACCOUNT_PROPERTY_ENUM } from '../../../constants/AccountPropertyConstants'
import { savePrimaryAccountProperty } from '../../../service/PersonalInfo/PersonalInfoService'
+import logger from '../../../logger'
export default {
name: 'Headline',
@@ -105,7 +106,7 @@ export default {
setTimeout(() => { this.showCheckmarkIcon = false }, 2000)
} else {
showError(errorMessage)
- this.logger.error(errorMessage, error)
+ logger.error(errorMessage, error)
this.showErrorIcon = true
setTimeout(() => { this.showErrorIcon = false }, 2000)
}