Fix AccountSettings for 3rd-party auth
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
01150af70e
commit
7bcd4a7d2d
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user