feat: basic admin interface
This commit is contained in:
@@ -10,6 +10,7 @@ const TITLES: Record<string, string> = {
|
||||
appearance: 'Appearance',
|
||||
providers: 'AI Providers',
|
||||
assistants: 'System Assistants',
|
||||
instance: 'Instance',
|
||||
};
|
||||
|
||||
const title = computed(() => {
|
||||
@@ -20,6 +21,8 @@ const title = computed(() => {
|
||||
return provider ? provider.name : 'Unknown Provider';
|
||||
}
|
||||
|
||||
if (section === 'instance' && id === 'users') return 'Users';
|
||||
|
||||
return TITLES[section ?? ''] ?? 'Settings';
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user