From b6dd39ac4f513e31f34c85d77fece6b9c4b91306 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 27 Nov 2023 23:20:32 +0100 Subject: [PATCH] [MIRROR] No currency symbol for free products [MDB IGNORE] (#25284) * No currency symbol for free products (#79950) ## About The Pull Request I have removed the currency icon for free products **Basic vendor menu:** ![BaseVendor](https://github.com/tgstation/tgstation/assets/72273449/046be357-1623-4cf2-91ea-ff6663b20f78) **Custom vendor:** Owner's view ![CustomOwnerVendor](https://github.com/tgstation/tgstation/assets/72273449/3e959fcb-e389-40d6-943e-fecc5f6ee560) Client's view: ![CustomVendor](https://github.com/tgstation/tgstation/assets/72273449/f9d8a60b-2b4c-4263-90f1-3d97a95c1241) ## Why It's Good For The Game I don't think it's important to know what currency the free product is measured in, since in the end it won't affect anything. The buttons look better without Cr ## Changelog :cl: code: Removed currency value for free products /:cl: * No currency symbol for free products --------- Co-authored-by: FeudeyTF <72273449+FeudeyTF@users.noreply.github.com> --- tgui/packages/tgui/interfaces/Vending.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tgui/packages/tgui/interfaces/Vending.tsx b/tgui/packages/tgui/interfaces/Vending.tsx index 85126aa9652..df01851b760 100644 --- a/tgui/packages/tgui/interfaces/Vending.tsx +++ b/tgui/packages/tgui/interfaces/Vending.tsx @@ -349,7 +349,7 @@ const ProductButton = (props, context) => { }) }> {customPrice} - {displayed_currency_name} + {!access && displayed_currency_name} ) : ( ); };