From c3e23ff5572bf51a39bbb7414ef7d9ef14e02fbc Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 31 Dec 2023 12:06:03 -0800 Subject: [PATCH] Update profile UI for social accounts --- .../profile-edit-dialog.component.html | 41 +++++++++---------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html index a82328c89..46becacc6 100644 --- a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html +++ b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html @@ -52,31 +52,30 @@ @if (socialAccounts?.length > 0) {

Connected social accounts

-
- -
Warning: changing the social accounts cannot be undone
-
+ +
Warning: disconnecting social accounts cannot be undone
} @if (socialAccountProviders?.length > 0) {
-

Available social account providers

-
- -
Warning: changing the social account providers cannot be undone
+

Connect new social account

+
+ @for (provider of socialAccountProviders; track provider.name) { + + {{provider.name}} + + + + }
}