fix: Only value
This commit is contained in:
parent
6a0a7bc99f
commit
899b323563
1 changed files with 3 additions and 5 deletions
|
@ -166,9 +166,7 @@ export const MenuScaleSettingValue = ({ current, config, changed }) => (
|
|||
* @param {bool} changed - Whether or not the value is non-default
|
||||
*/
|
||||
export const MenuOnlySettingValue = ({ current, config }) => (
|
||||
<MenuHighlightValue
|
||||
current={current?.length}
|
||||
dflt={config.parts.length}
|
||||
changed={current !== undefined}
|
||||
/>
|
||||
<MenuHighlightValue changed={current !== undefined}>
|
||||
{current === undefined ? '-' : current.length}
|
||||
</MenuHighlightValue>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue