diff --git a/src/views/room/widgets/furniture/mannequin/FurnitureMannequinView.tsx b/src/views/room/widgets/furniture/mannequin/FurnitureMannequinView.tsx index d2c762ba..a07a6cba 100644 --- a/src/views/room/widgets/furniture/mannequin/FurnitureMannequinView.tsx +++ b/src/views/room/widgets/furniture/mannequin/FurnitureMannequinView.tsx @@ -178,39 +178,38 @@ export const FurnitureMannequinView: FC = props => -
- { viewMode === FurnitureMannequinViewMode.EDIT && <> - processAction('set_name', event.target.value) } onKeyDown={ event => handleKeyDown(event) } /> -
processAction('load_figure') }>{ LocalizeText('mannequin.widget.style') }
-
processAction('wear') }>{ LocalizeText('mannequin.widget.wear') }
- } - { viewMode === FurnitureMannequinViewMode.SAVE && <> -
+
+ { viewMode === FurnitureMannequinViewMode.DEFAULT && + <>
-
{ mannequinData.name }
-
{ LocalizeText('mannequin.widget.savetext') }
-
-
-
processAction('back') }>{ LocalizeText('mannequin.widget.back') }
-
processAction('save_figure') }>{ LocalizeText('mannequin.widget.save') }
-
-
- } - { viewMode === FurnitureMannequinViewMode.DEFAULT && <> -
-
-
{ mannequinData.name }
+
{ mannequinData.name }
{ LocalizeText('mannequin.widget.weartext') }
processAction('wear') }>{ LocalizeText('mannequin.widget.wear') }
-
- } - { viewMode === FurnitureMannequinViewMode.CLUB && <> -
{ LocalizeText('mannequin.widget.clubnotification') }
- } - { viewMode === FurnitureMannequinViewMode.INCOMPATIBLE_GENDER && <> -
{ LocalizeText('mannequin.widget.wronggender') }
- } + } + { viewMode === FurnitureMannequinViewMode.EDIT && + <> + processAction('set_name', event.target.value) } onKeyDown={ event => handleKeyDown(event) } /> +
+
processAction('load_figure') }>{ LocalizeText('mannequin.widget.style') }
+
processAction('wear') }>{ LocalizeText('mannequin.widget.wear') }
+
+ } + { viewMode === FurnitureMannequinViewMode.SAVE && + <> +
+
{ mannequinData.name }
+
{ LocalizeText('mannequin.widget.savetext') }
+
+
+
processAction('back') }>{ LocalizeText('mannequin.widget.back') }
+
processAction('save_figure') }>{ LocalizeText('mannequin.widget.save') }
+
+ } + { viewMode === FurnitureMannequinViewMode.CLUB && +
{ LocalizeText('mannequin.widget.clubnotification') }
} + { viewMode === FurnitureMannequinViewMode.INCOMPATIBLE_GENDER && +
{ LocalizeText('mannequin.widget.wronggender') }
}