admin/fs: nicer
Massimo Melina committed
Jul 21, 2023 at 10:50 UTC
0954b1e7f1914468ead130eb407f4eb7a5911ca5
1 file changed
+3
-1
admin/src/addFiles.ts
+3
-1
@@ -17,7 +17,9 @@ export default function addFiles() {
17
const parent = getParent()
18
return h(Fragment, {},
19
h(Box, { sx:{ typography: 'body1', px: 1, py: 2 } },
20
- "Selected elements will be added under " + (parent.isRoot ? '(home)' : parent.id)),
20
+ "Selected elements will be added under ",
21
+ parent.isRoot ? h('i', {}, 'Home') : parent.id
22
+ ),
23
h(FilePicker, {
24
from: parent.source,
25
async onSelect(sel) {