fix(plugins): preserve settings slot and privileged tier

This commit is contained in:
Chris Rowland
2026-07-04 14:49:26 +02:00
committed by Linus Rath
parent 9da27df249
commit 95b5a81924
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -14,6 +14,7 @@ import { Button } from '@/components/ui/button';
import { useRouter } from '@/i18n/navigation';
import { getMaxAccounts } from '@/lib/account-utils';
import { formatFileSize, cn } from '@/lib/utils';
import { PluginSlot } from '@/components/plugins/plugin-slot';
function hostnameOf(serverUrl: string): string {
try { return new URL(serverUrl).hostname; } catch { return serverUrl; }
@@ -180,6 +181,8 @@ export function AccountSettings() {
)}
</SettingsSection>
<PluginSlot name="settings-section" />
{/* Logged-in accounts list */}
{accounts.length > 0 && (
<SettingsSection title={t('accounts.title')} description={t('accounts.description')}>