fix: ldquo/rdquo in config
This commit is contained in:
parent
f3bb2ca0cb
commit
1830809620
@ -61,7 +61,7 @@ export const SystemConfig = ({ config: initialConfig }: SystemConfigProps) => {
|
|||||||
onValueChange={v => setConfigKey('user_max_card', (!v || +v < 1) ? null : +v)} />
|
onValueChange={v => setConfigKey('user_max_card', (!v || +v < 1) ? null : +v)} />
|
||||||
|
|
||||||
<span className="w-full mt-2 text-xs sm:text-sm text-gray-500">
|
<span className="w-full mt-2 text-xs sm:text-sm text-gray-500">
|
||||||
If "Allow users to add cards" is enabled, this controls the max card count per user. Note that user moderators can exceed this count.
|
If “Allow users to add cards” is enabled, this controls the max card count per user. Note that user moderators can exceed this count.
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<Divider className="bg-divider/5" />
|
<Divider className="bg-divider/5" />
|
||||||
@ -76,7 +76,7 @@ export const SystemConfig = ({ config: initialConfig }: SystemConfigProps) => {
|
|||||||
.map(p => p.toString()))}
|
.map(p => p.toString()))}
|
||||||
onSelectionChange={s => typeof s !== 'string' && setConfigKey('chuni_allow_equip_unearned',
|
onSelectionChange={s => typeof s !== 'string' && setConfigKey('chuni_allow_equip_unearned',
|
||||||
([...s] as number[]).reduce((t, x) => +t | (1 << +x), 0))}>
|
([...s] as number[]).reduce((t, x) => +t | (1 << +x), 0))}>
|
||||||
{[[UserPermissions.USER, { title: 'User' }] as const, ...USER_PERMISSION_NAMES]
|
{[[UserPermissions.USER, { title: 'All Users' }] as const, ...USER_PERMISSION_NAMES]
|
||||||
.map(([permission, { title }]) => (<SelectItem key={permission?.toString()}>
|
.map(([permission, { title }]) => (<SelectItem key={permission?.toString()}>
|
||||||
{title}
|
{title}
|
||||||
</SelectItem>)) }
|
</SelectItem>)) }
|
||||||
|
Loading…
Reference in New Issue
Block a user