CSCE {lab.course} - {lab.section}
{#if assign}
{
selectedPeerTeacher?.assignLab(lab.id);
//TODO Adding a lab to a PT doesn't update the current "Labs" and "PT's Labs" columns
//TODO This was handled by self assignment in the assign labs function in Scott's version, but now this logic is passed down into a child component (this component) and self-assigning down here does not seem to help
selectedPeerTeacher = selectedPeerTeacher;
}}
/>
{:else}
{
console.log(
selectedPeerTeacher?.name,
lab.course,
lab.section
);
}}
/>
{/if}
{lab.event.info}
{lab.building} {lab.room}