Skip to content

Commit

Permalink
Merge pull request #1260 from RoundingWell/bugfix/program-actions-sid…
Browse files Browse the repository at this point in the history
…ebar

Set `this.action` in the `onBeforeStart()` in program action sidebar
  • Loading branch information
paulfalgout committed May 9, 2024
2 parents 501085e + 75fe598 commit d612f52
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/js/apps/programs/sidebar/action-sidebar_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ export default App.extend({
beforeStart() {
return Radio.request('entities', 'fetch:tags:collection');
},
onStart({ action }, tags) {
onBeforeStart({ action }) {
this.action = action;

},
onStart(options, tags) {
this.showView(new LayoutView({
action: this.action,
tags,
Expand Down

0 comments on commit d612f52

Please sign in to comment.