From 7bcd4a7d2ddc8e3ee04e62300fc72c29a6e367bc Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 13 Oct 2020 15:05:32 +0200 Subject: [PATCH] Fix AccountSettings for 3rd-party auth Signed-off-by: Thomas Citharel --- js/src/views/Settings/AccountSettings.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/views/Settings/AccountSettings.vue b/js/src/views/Settings/AccountSettings.vue index 6681abdb0..6b84d531f 100644 --- a/js/src/views/Settings/AccountSettings.vue +++ b/js/src/views/Settings/AccountSettings.vue @@ -288,7 +288,8 @@ export default class AccountSettings extends Vue { return !this.loggedUser.provider; } - static providerName(id: string): string { + // eslint-disable-next-line class-methods-use-this + providerName(id: string): string { if (SELECTED_PROVIDERS[id]) { return SELECTED_PROVIDERS[id]; }