@if (socialApps().length || user().identities.length) { @if (user(); as user) { Social Auth Accounts @if (socialApps().length) { @if (socialApps(); as socialApps) { Add Account @for (socialApp of socialApps; track socialApp) { } } } @if (user.identities!.length === 0) {

You haven't connected any social auth accounts.

} @else {
@for ( socialAccount of user.identities; track socialAccount; let lastItem = $last ) {
@if (!lastItem) { } }
}
} }