diff --git a/tgui/packages/tgui/interfaces/Vending.tsx b/tgui/packages/tgui/interfaces/Vending.tsx index 0666e7e587..990ee92e6e 100644 --- a/tgui/packages/tgui/interfaces/Vending.tsx +++ b/tgui/packages/tgui/interfaces/Vending.tsx @@ -1,6 +1,9 @@ +import { filter } from 'common/collections'; +import { flow } from 'common/fp'; import { classes } from 'common/react'; -import { useBackend } from '../backend'; -import { Box, Button, Section, Table } from '../components'; +import { createSearch } from 'common/string'; +import { useBackend, useLocalState } from '../backend'; +import { Box, Button, Icon, Input, Section, Table } from '../components'; import { Window } from '../layouts'; type VendingData = { @@ -23,6 +26,7 @@ type ProductRecord = { price: number; max_amount: number; ref: string; + amount: number; } type CoinRecord = { @@ -83,7 +87,7 @@ const VendingRow = (props, context) => { ); return ( -