admin/fs: wraps source field if necessary

Massimo Melina committed Mar 18, 2022 at 12:46 UTC 775e65cb976a2e257d2c810afb2b40dfa5dc2b81
1 file changed +1 -1
admin/src/FileCard.ts
+1 -1
@@ -90,7 +90,7 @@ function FileForm({ file }: { file: ReturnType<typeof useSnapState>['selectedFil
90 !isRoot && { k: 'name', validate: x => x>'' || `Required`,
91 helperText: source && "You can decide a name that's different from the one on your disk",
92 },
93 - hasSource && { k: 'source', comp: DisplayField },
93 + hasSource && { k: 'source', comp: DisplayField, multiline: true },
94 { k: 'can_read', label:"Who can download", xl: showCanSee && 6, comp: WhoField, parent, accounts, inherit: inheritedPerms.can_read,
95 helperText: "Note: who cannot download also cannot see in list"
96 },