mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 06:40:50 +01:00
Inventory changes
This commit is contained in:
parent
f6dd2efbd2
commit
43867f9f38
@ -87,7 +87,7 @@ export const InventoryBotView: FC<InventoryBotViewProps> = props =>
|
||||
</Column>
|
||||
{ botItem &&
|
||||
<Column grow justifyContent="between" gap={ 2 }>
|
||||
<Text>{ botItem.botData.name }</Text>
|
||||
<Text grow truncate>{ botItem.botData.name }</Text>
|
||||
{ !!roomSession &&
|
||||
<Button variant="success" size="sm" onClick={ event => attemptBotPlacement(botItem) }>
|
||||
{ LocalizeText('inventory.furni.placetoroom') }
|
||||
|
@ -6,7 +6,7 @@ import { Column } from '../../../../common/Column';
|
||||
import { Grid } from '../../../../common/Grid';
|
||||
import { Text } from '../../../../common/Text';
|
||||
import { SendMessageHook } from '../../../../hooks/messages';
|
||||
import { LimitedEditionCompactPlateView } from '../../../../views/shared/limited-edition/compact-plate/LimitedEditionCompactPlateView';
|
||||
import { LimitedEditionCompactPlateView } from '../../../../views/shared/limited-edition/LimitedEditionCompactPlateView';
|
||||
import { RarityLevelView } from '../../../../views/shared/rarity-level/RarityLevelView';
|
||||
import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView';
|
||||
import { FurniCategory } from '../../common/FurniCategory';
|
||||
@ -128,7 +128,7 @@ export const InventoryFurnitureView: FC<InventoryFurnitureViewProps> = props =>
|
||||
</Column>
|
||||
{ groupItem &&
|
||||
<Column grow justifyContent="between" gap={ 2 }>
|
||||
<Text>{ groupItem.name }</Text>
|
||||
<Text grow truncate>{ groupItem.name }</Text>
|
||||
{ !!roomSession &&
|
||||
<Button variant="success" size="sm" onClick={ event => attemptItemPlacement(groupItem) }>
|
||||
{ LocalizeText('inventory.furni.placetoroom') }
|
||||
|
@ -86,7 +86,7 @@ export const InventoryPetView: FC<InventoryPetViewProps> = props =>
|
||||
</Column>
|
||||
{ petItem &&
|
||||
<Column grow justifyContent="between" gap={ 2 }>
|
||||
<Text>{ petItem.petData.name }</Text>
|
||||
<Text grow truncate>{ petItem.petData.name }</Text>
|
||||
{ !!roomSession &&
|
||||
<Button variant="success" size="sm" onClick={ event => attemptPetPlacement(petItem) }>
|
||||
{ LocalizeText('inventory.furni.placetoroom') }
|
||||
|
Loading…
Reference in New Issue
Block a user