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 01150af70e
commit 7bcd4a7d2d

View File

@ -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];
}