From f5012acf820be7ae2ca645bf5cd5b0cedb7aaacb Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Tue, 25 Oct 2022 15:40:02 +0530 Subject: [PATCH] bug fix --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 270bb4c..cfc31dd 100644 --- a/index.html +++ b/index.html @@ -1754,7 +1754,7 @@ const assignedInternsCards = filterMap(assignedInterns, (internFloId) => render.assignedInternCard(internFloId)); const status = RIBC.getTaskStatus(appState.params.id, appState.params.branch, task) let applyButton - if (!assignedInterns.includes(myFloID)) { + if (!assignedInterns.includes(myFloID) && typeOfUser !== 'admin') { const hasApplied = [...RIBC.getTaskRequests(false), ...sessionTaskRequests].find(({ details }) => { return `${appState.params.id}_${appState.params.branch}_${task}` === details.taskId })