Skip to content

Commit

Permalink
fix: clarify register version as of proposal time
Browse files Browse the repository at this point in the history
related to #9
  • Loading branch information
strogonoff committed Mar 27, 2023
1 parent de372ed commit 29b91c2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/views/detail/ChangeRequest/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,18 @@ function ({ afterDelete, className }) {

<Divider />
<div>
To register version: <strong>{cr.registerVersion ?? 'N/A'}</strong>
{" "}
Register&nbsp;version before&nbsp;proposal: <strong>{cr.registerVersion ?? 'N/A'}</strong>
&ensp;
{cr.registerVersion === registerMetadata?.version?.id
? <Tag css={css`display: inline;`} intent='success' minimal round>current</Tag>
? <Tag css={css`display: inline;`} intent='success' minimal round>
current
{" "}
<HelpTooltip intent='success' content={<>
Published version of the register
{" "}
had not changed since this proposal started.
</>} />
</Tag>
: <Tag css={css`display: inline;`} intent='warning' minimal round>
not current
{" "}
Expand Down

0 comments on commit 29b91c2

Please sign in to comment.