Skip to content

Commit

Permalink
Merge branch 'development' into DES/enhancement/#732-vlc-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brenner-company committed Apr 23, 2021
2 parents 5c3e50e + 18abd84 commit 06743f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@
</LinkTo>
</WebComponents::AuToolbar::Item>
{{/if}}
<WebComponents::AuToolbar::Item>
<WebComponents::AuButton
data-test-agendaitem-titles-edit
{{on "click" this.startEditing}}
@skin="tertiary"
@icon="edit"
@layout="icon-only"
/>
</WebComponents::AuToolbar::Item>
{{#if this.currentSession.isEditor}}
<WebComponents::AuToolbar::Item>
<WebComponents::AuButton
data-test-agendaitem-titles-edit
{{on "click" this.startEditing}}
@skin="tertiary"
@icon="edit"
@layout="icon-only"
/>
</WebComponents::AuToolbar::Item>
{{/if}}
</WebComponents::AuToolbar::Group>
</WebComponents::AuToolbar>
</WebComponents::AuPanel::Header>
Expand Down
2 changes: 1 addition & 1 deletion app/pods/agenda/agendaitems/agendaitem/index/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
@mandatees={{this.mandatees}}
@submitter={{this.submitter}}
@fields={{this.governmentFields}}
@allowEditing={{true}}
@allowEditing={{this.currentSession.isEditor}}
@onSave={{this.saveMandateeData}}
/>
<DomainFieldIse::IseCodesPanel @iseCodes={{this.subcase.iseCodes}}/>
Expand Down

0 comments on commit 06743f5

Please sign in to comment.