forked from potsda.mn/mobilizon
Fix AccountSettings for 3rd-party auth
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
8035fb743d
commit
92bff34df8
|
@ -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 a new issue