1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-24 10:37:28 +02:00

feat(web): organize user settings (#2340)

This commit is contained in:
Jason Rasmussen 2023-04-26 13:25:36 -04:00 committed by GitHub
parent 2a88cc74bf
commit c329a17975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,28 +26,28 @@
});
</script>
<SettingAccordion title="User Profile" subtitle="View and manage your profile">
<SettingAccordion title="Account" subtitle="Manage your account">
<UserProfileSettings {user} />
</SettingAccordion>
<SettingAccordion title="Password" subtitle="Change your password">
<ChangePasswordSettings />
<SettingAccordion title="API Keys" subtitle="Manage your API keys">
<UserAPIKeyList />
</SettingAccordion>
<SettingAccordion title="API Keys" subtitle="View and manage your API keys">
<UserAPIKeyList />
<SettingAccordion title="Authorized Devices" subtitle="Manage your logged-in devices">
<DeviceList />
</SettingAccordion>
{#if oauthEnabled}
<SettingAccordion
title="OAuth"
subtitle="Manage your linked account"
subtitle="Manage your OAuth connection"
isOpen={oauthOpen || $page.url.searchParams.get('open') === 'oauth'}
>
<OAuthSettings {user} />
</SettingAccordion>
{/if}
<SettingAccordion title="Authorized Devices" subtitle="View and manage your logged-in devices">
<DeviceList />
<SettingAccordion title="Password" subtitle="Change your password">
<ChangePasswordSettings />
</SettingAccordion>