File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 36243624 "inventory_item" : " Item" ,
36253625 "inventory_item_created" : " Inventory Item created successfully." ,
36263626 "inventory_item_saved" : " Inventory Item saved successfully." ,
3627+ "new_item" : " New Item" ,
3628+ "edit_item" : " Edit Item" ,
36273629 "code" : " Code" ,
36283630 "name" : " Name" ,
36293631 "default_quantity" : " Default Quantity" ,
Original file line number Diff line number Diff line change @@ -209,7 +209,9 @@ const SponsorItemDialog = ({
209209 disableRestoreFocus
210210 >
211211 < DialogTitle sx = { { display : "flex" , justifyContent : "space-between" } } >
212- Edit Item
212+ { initialEntity . id
213+ ? T . translate ( "edit_inventory_item.edit_item" )
214+ : T . translate ( "edit_inventory_item.new_item" ) }
213215 < IconButton size = "small" onClick = { handleClose } sx = { { mr : 1 } } >
214216 < CloseIcon fontSize = "small" />
215217 </ IconButton >
You can’t perform that action at this time.
0 commit comments