Fix AccountSettings for 3rd-party auth

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-10-13 15:05:32 +02:00
parent 8035fb743d
commit 92bff34df8
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -288,7 +288,8 @@ export default class AccountSettings extends Vue {
return !this.loggedUser.provider; 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]) { if (SELECTED_PROVIDERS[id]) {
return SELECTED_PROVIDERS[id]; return SELECTED_PROVIDERS[id];
} }