From f3580dc688d3d729d055258a24e5e7fb276a1dcd Mon Sep 17 00:00:00 2001 From: Ali Hadi Mazeh Date: Wed, 24 Jul 2024 17:44:06 -0400 Subject: [PATCH] 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 045c787f553..dc7fc62ad79 100644 --- a/app/javascript/App.jsx +++ b/app/javascript/App.jsx @@ -81,7 +81,7 @@ export default function App() { newestOnTop autoClose={3000} /> -