admin/fs: nicer dialog for roots
Massimo Melina committed
Feb 23, 2024 at 15:03 UTC
0d18d5d779b755062a578bffba40480eea6c5a1f
1 file changed
+2
-1
admin/src/VfsMenuBar.ts
+2
-1
@@ -57,6 +57,7 @@ export default function VfsMenuBar({ statusApi }: { statusApi: ApiObject }) {
57
58
function roots() {
59
const { close } = newDialog({
60
+ title: "Roots for different domains",
61
dialogProps: { maxWidth: 'sm' },
62
Content: () => h(ConfigForm<{ roots: any, roots_mandatory: boolean }>, {
63
onSave() {
@@ -68,7 +69,7 @@ export default function VfsMenuBar({ statusApi }: { statusApi: ApiObject }) {
69
fields: [
70
{
71
k: 'roots',
71
- label: "Roots for different domains",
72
+ label: false,
73
helperText: "You can decide different home-folders (in the VFS) for different domains, a bit like virtual hosts. If none is matched, the default home will be used.",
74
comp: ArrayField,
75
fields: [