mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-01 16:37:39 +01:00
Advertise admin panel on setting page #2
This commit is contained in:
parent
aa39f42cd2
commit
43cc92913f
1 changed files with 24 additions and 19 deletions
|
@ -240,6 +240,7 @@ export function SettingsPage() {
|
||||||
{t("settings.account.title")}
|
{t("settings.account.title")}
|
||||||
</Heading1>
|
</Heading1>
|
||||||
{user.account && state.profile.state ? (
|
{user.account && state.profile.state ? (
|
||||||
|
<div>
|
||||||
<AccountSettings
|
<AccountSettings
|
||||||
account={user.account}
|
account={user.account}
|
||||||
deviceName={state.deviceName.state}
|
deviceName={state.deviceName.state}
|
||||||
|
@ -257,11 +258,15 @@ export function SettingsPage() {
|
||||||
state.profile.set((s) => (s ? { ...s, icon: v } : undefined))
|
state.profile.set((s) => (s ? { ...s, icon: v } : undefined))
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<AdminPanelPart />
|
||||||
|
</div>
|
||||||
) : (
|
) : (
|
||||||
|
<div>
|
||||||
<RegisterCalloutPart />
|
<RegisterCalloutPart />
|
||||||
|
<AdminPanelPart />
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<AdminPanelPart />
|
|
||||||
<div id="settings-preferences" className="mt-48">
|
<div id="settings-preferences" className="mt-48">
|
||||||
<PreferencesPart
|
<PreferencesPart
|
||||||
language={state.appLanguage.state}
|
language={state.appLanguage.state}
|
||||||
|
|
Loading…
Reference in a new issue