Commit 56b884da authored by Marek Veselý's avatar Marek Veselý
Browse files

Merge branch '595-info-about-addresses-should-not-be-shown-in-trainee-view' into 'main'

fix: hide email address description in trainee view

Closes #595

See merge request inject/frontend!501
parents c328bc59 304405ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ const instructorAddressLabel = css`
`

interface SubtitleProps {
  showDescription: boolean
  showDescription?: boolean
  participants: EmailParticipant[]
}

+1 −6
Original line number Diff line number Diff line
@@ -96,12 +96,7 @@ const Page = () => {
        emails={emails}
        subject={selectedEmailThread.subject}
        title={selectedEmailThread.subject}
        subtitle={
          <Subtitle
            participants={selectedEmailThread.participants}
            showDescription
          />
        }
        subtitle={<Subtitle participants={selectedEmailThread.participants} />}
        allowForwarding={running}
        forwardButtonTitle={
          !running ? 'The exercise had been stopped' : undefined