From 377b445780b2d1a326197796e69a64e4b9e891a0 Mon Sep 17 00:00:00 2001 From: koalasat Date: Sun, 20 Jul 2025 15:32:38 +0200 Subject: [PATCH] Robot garage buttons --- frontend/src/basic/RobotPage/RobotProfile.tsx | 49 +++++++++---------- frontend/static/locales/ca.json | 2 +- frontend/static/locales/cs.json | 2 +- frontend/static/locales/de.json | 2 +- frontend/static/locales/en.json | 2 +- frontend/static/locales/es.json | 2 +- frontend/static/locales/eu.json | 2 +- frontend/static/locales/fr.json | 2 +- frontend/static/locales/it.json | 2 +- frontend/static/locales/ja.json | 2 +- frontend/static/locales/pl.json | 2 +- frontend/static/locales/pt.json | 2 +- frontend/static/locales/ru.json | 2 +- frontend/static/locales/sv.json | 2 +- frontend/static/locales/sw.json | 2 +- frontend/static/locales/th.json | 2 +- frontend/static/locales/zh-SI.json | 2 +- frontend/static/locales/zh-TR.json | 2 +- 18 files changed, 40 insertions(+), 43 deletions(-) diff --git a/frontend/src/basic/RobotPage/RobotProfile.tsx b/frontend/src/basic/RobotPage/RobotProfile.tsx index a3679fd2..968b6d3b 100644 --- a/frontend/src/basic/RobotPage/RobotProfile.tsx +++ b/frontend/src/basic/RobotPage/RobotProfile.tsx @@ -41,7 +41,8 @@ const RobotProfile = ({ setView, width, }: RobotProfileProps): React.JSX.Element => { - const { windowSize, setOpen, open, navigateToPage } = useContext(AppContext); + const { windowSize, setOpen, open, navigateToPage, client } = + useContext(AppContext); const { garage, slotUpdatedAt } = useContext(GarageContext); const { federation } = useContext(FederationContext); @@ -261,7 +262,20 @@ const RobotProfile = ({ > - {t('Robot Garage')} + + {t('Robot Garage')} + {client !== 'mobile' && ( + + )} +