feat: add plugin ui.prompt dialog and first-class settings-section tabs
This commit is contained in:
@@ -14,7 +14,6 @@ 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; }
|
||||
@@ -181,8 +180,6 @@ export function AccountSettings() {
|
||||
)}
|
||||
</SettingsSection>
|
||||
|
||||
<PluginSlot name="settings-section" />
|
||||
|
||||
{/* Logged-in accounts list */}
|
||||
{accounts.length > 0 && (
|
||||
<SettingsSection title={t('accounts.title')} description={t('accounts.description')}>
|
||||
|
||||
Reference in New Issue
Block a user