From fdd40e02d482d182dffa86f9ecbe0179f12d5ba0 Mon Sep 17 00:00:00 2001 From: Ali Hadi Mazeh Date: Wed, 24 Jul 2024 17:44:06 -0400 Subject: [PATCH 1/2] Greenlight version number only appears for admins - Changes to App.jsx: passed in currentUser to the Footer - Footer renders the version number if the current user is an admin --- app/javascript/App.jsx | 2 +- app/javascript/components/shared_components/Footer.jsx | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/javascript/App.jsx b/app/javascript/App.jsx index 045c787f55..dc7fc62ad7 100644 --- a/app/javascript/App.jsx +++ b/app/javascript/App.jsx @@ -81,7 +81,7 @@ export default function App() { newestOnTop autoClose={3000} /> -