admin/fs: make link-buttons describe their actions instead of their state

Massimo Melina committed Jan 21, 2024 at 15:32 UTC 1511bc0598d8db400333923eaf226c9b692ccfcf
1 file changed +1 -1
admin/src/FileForm.ts
+1 -1
@@ -237,7 +237,7 @@ function WhoField({ value, onChange, parent, inherit, accounts, helperText, othe
237 onClick(event) {
238 onChange(objectMode ? thisValue : { this: thisValue, children: thisValue == null ? !inherit : undefined } , { was: value, event })
239 }
240 - }, objectMode ? "Different permission for " : "Same permission for ", contentText)
240 + }, objectMode ? "Set same permission for " : "Set different permission for ", contentText)
241 ),
242 !isChildren && h(Collapse, { in: objectMode, timeout },
243 h(WhoField, {