Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
fixing i18n string configuration for new studio editor on MountPoint (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMazerIR authored Jun 3, 2024
1 parent 95c8957 commit e81bdcd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ export const MountPointNodeEditor: EditorComponentType = (props) => {
description={t('editor:properties.mountPoint.description')}
icon={<LuUsers2 />}
>
<InputGroup name="Mount Type" label={t('editor:properties.mountpoint.lbl-mountType')}>
<InputGroup name="Mount Type" label={t('editor:properties.mountPoint.lbl-type')}>
<SelectInput // we dont know the options and the component for this
key={props.entity}
value={mountComponent.type.value}
options={Object.entries(MountPoint).map(([key, value]) => ({ label: key, value }))}
onChange={commitProperty(MountPointComponent, 'type')}
/>
</InputGroup>
<InputGroup name="Dismount Offset" label={t('editor:properties.mountpoint.lbl-dismountOffset')}>
<InputGroup name="Dismount Offset" label={t('editor:properties.mountPoint.lbl-dismount')}>
<Vector3Input
value={mountComponent.dismountOffset.value}
onChange={updateProperty(MountPointComponent, 'dismountOffset')}
Expand Down

0 comments on commit e81bdcd

Please sign in to comment.