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