Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set this.action in the onBeforeStart() in program action sidebar #1260

Merged
merged 1 commit into from
May 9, 2024

Conversation

nmajor25
Copy link
Contributor

@nmajor25 nmajor25 commented May 8, 2024

Shortcut Story ID: [sc-50520]

@nmajor25 nmajor25 requested a review from paulfalgout May 8, 2024 21:42
this.action = action;

},
onStart(options, tags) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to fix the issue.

Instead of doing the if (this.action) in the onStop(). Which stopped the app from borking but caused weirdness in the UI since the this.action.trigger('editing', false) doesn't get called correctly.

Copy link

cypress bot commented May 8, 2024

Passing run #6363 ↗︎

0 280 0 0 Flakiness 0

Details:

Set `this.action` in the `onBeforeStart()` in program action sidebar
Project: RoundingWell Care Ops Frontend Commit: 75fe598273
Status: Passed Duration: 03:11 💡
Started: May 8, 2024 9:44 PM Ended: May 8, 2024 9:47 PM

Review all test suite changes for PR #1260 ↗︎

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8ce6028a-a00c-4965-8f08-32a026e8fe22

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall first build on bugfix/program-actions-sidebar at 99.91%

Totals Coverage Status
Change from base Build 965aa496-a373-4df6-a574-0334073fadb4: 99.9%
Covered Lines: 5941
Relevant Lines: 5945

💛 - Coveralls

@paulfalgout
Copy link
Member

This fix seems perfectly fine, but I'm interested to see if #1259 (comment) fixes it

@paulfalgout paulfalgout merged commit d612f52 into develop May 9, 2024
5 checks passed
@paulfalgout paulfalgout deleted the bugfix/program-actions-sidebar branch May 9, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants