diff --git a/index.html b/index.html index d9e000b..2939897 100644 --- a/index.html +++ b/index.html @@ -1884,16 +1884,6 @@ const assignedInterns = RIBC.getAssignedInterns(appState.params.id, appState.params.branch, task) const assignedInternsCards = assignedInterns.map(internFloId => render.assignedInternCard(internFloId)); const status = RIBC.getTaskStatus(appState.params.id, appState.params.branch, task) - let applyButton - if (!assignedInterns.includes(floGlobals.myFloID) && userType !== 'admin') { - const hasApplied = [...RIBC.getTaskRequests(false), ...sessionTaskRequests].find(({ details }) => { - return `${appState.params.id}_${appState.params.branch}_${task}` === details.taskId - }) - applyButton = html` - `; - } const linkifyDescription = createElement('p', { innerHTML: DOMPurify.sanitize(linkify(description)), className: `timeline-task__description ws-pre-line wrap-around` @@ -1907,10 +1897,7 @@
-
-

${title}

- ${applyButton} -
+

${title}

${assignedInternsCards.length ? html`
${assignedInternsCards}
` : ''} ${linkifyDescription}