From 6f2f43049c3d149e91a0c0d41173077ea76c91b1 Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Tue, 28 Nov 2023 08:19:35 +0300 Subject: [PATCH] [MIRROR] No currency symbol for free products [MDB IGNORE] (#25284) (#853) * 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: SkyratBot <59378654+SkyratBot@users.noreply.github.com> 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} ) : ( ); };