Skip to content

Commit

Permalink
Merge pull request #57 from EmmanuelDemey/master
Browse files Browse the repository at this point in the history
feat: add publication button to SIMS
  • Loading branch information
Evargalo authored Aug 9, 2019
2 parents 95752e1 + 2e21a71 commit 97b8bac
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ export default function SimsVisualisation({
col={3}
/>
</Auth>
<Auth
roles={[
ADMIN,
!!sims.idIndicator ? SERIES_CREATOR : INDICATOR_CREATOR,
]}
>
<Button label={D.btnValid} />
</Auth>
<Auth roles={[ADMIN, INDICATOR_CREATOR, SERIES_CREATOR, CNIS]}>
<Button
action={`/operations/sims/${sims.id}/modify`}
Expand Down

0 comments on commit 97b8bac

Please sign in to comment.