- {
- (this.state.application === null || this.state.user === null) ? null : (
- this.state.application?.providers.filter(providerItem => Setting.isProviderVisible(providerItem)).map((providerItem, index) =>
- (providerItem.provider.category === "OAuth") ? (
-
{ return this.unlinked()}} />
- ) : (
- { return this.unlinked()}} />
- )
+ )
+ } else if (accountItem.name === "3rd-party logins") {
+ return (
+ !this.isSelfOrAdmin() ? null : (
+
+
+ {Setting.getLabel(i18next.t("user:3rd-party logins"), i18next.t("user:3rd-party logins - Tooltip"))} :
+
+
+
+ {
+ (this.state.application === null || this.state.user === null) ? null : (
+ this.state.application?.providers.filter(providerItem => Setting.isProviderVisible(providerItem)).map((providerItem, index) =>
+ (providerItem.provider.category === "OAuth") ? (
+ { return this.unlinked()}} />
+ ) : (
+ { return this.unlinked()}} />
)
)
- }
-
-
-
- )
- }
+ )
+ }
+
+
+