From b2ad9b21cd36aafbc08fce49f1b5e04e4d78230d Mon Sep 17 00:00:00 2001 From: dlpzx Date: Tue, 26 Nov 2024 10:45:37 +0100 Subject: [PATCH 1/3] Check isAdmin for Feed in Dashboards and Pipelines --- .../modules/Dashboards/views/DashboardView.js | 22 ++++++------ .../modules/Pipelines/views/PipelineView.js | 34 ++++++++++++------- 2 files changed, 34 insertions(+), 22 deletions(-) diff --git a/frontend/src/modules/Dashboards/views/DashboardView.js b/frontend/src/modules/Dashboards/views/DashboardView.js index 03abaa021..d093546e7 100644 --- a/frontend/src/modules/Dashboards/views/DashboardView.js +++ b/frontend/src/modules/Dashboards/views/DashboardView.js @@ -227,16 +227,18 @@ const DashboardView = () => { onClick={() => upVoteDashboard(dashboard.dashboardUri)} upVotes={upVotes || 0} /> - + {isAdmin && ( + + )} + {isAdmin && ( + + )}