Skip to content

Commit

Permalink
Merge pull request #4546 from gemini-hlsw/sc-4653-add-info-i-button-t…
Browse files Browse the repository at this point in the history
…o-investigator-tile
  • Loading branch information
toddburnside authored Feb 6, 2025
2 parents d4287f3 + da94863 commit 5ae5905
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions explore/src/main/scala/explore/proposal/ProposalEditor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import eu.timepit.refined.types.string.NonEmptyString
import explore.Icons
import explore.common.Aligner
import explore.common.ProgramQueries
import explore.components.HelpIcon
import explore.components.Tile
import explore.components.TileController
import explore.components.ui.*
Expand Down Expand Up @@ -151,13 +152,14 @@ object ProposalEditor:
props.userIsReadonlyCoi
),
(_, _) =>
Option
.unless[VdomNode](props.proposalOrUserIsReadonly):
<.div(
ExploreStyles.AddProgramUserButton,
<.div(
ExploreStyles.AddProgramUserButton,
Option
.unless[VdomNode](props.proposalOrUserIsReadonly):
AddReadonlyCoiButton(props.programId, props.users)
)
.orEmpty
.orEmpty,
HelpIcon("proposal/main/investigators.md".refined)
)
)

val absTitle: VdomNode =
Expand Down

0 comments on commit 5ae5905

Please sign in to comment.