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

fix: headers and actions empty variable init #724

Merged
merged 3 commits into from Aug 11, 2023
Merged

Conversation

skjnldsv
Copy link
Contributor

Otherwise if an app uses getFileActions or getFileListHeaders BEFORE any other app registered one, the returned empty array will not point to the window reference and will not be reactive

@skjnldsv skjnldsv added bug Something isn't working 3. to review labels Aug 11, 2023
@skjnldsv skjnldsv requested review from susnux and ShGKme August 11, 2023 06:00
@skjnldsv skjnldsv self-assigned this Aug 11, 2023
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@susnux
Copy link
Contributor

susnux commented Aug 11, 2023

👍

Would you mind adding test case for this?

@skjnldsv
Copy link
Contributor Author

Would you mind adding test case for this?

Already covered :)

@codecov

This comment was marked as resolved.

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@susnux
Copy link
Contributor

susnux commented Aug 11, 2023

Already covered :)

But than the test should have already failed before this? I take the liberty to push a commit with a test so can see what I meant

@skjnldsv
Copy link
Contributor Author

skjnldsv commented Aug 11, 2023

But than the test should have already failed before this? I take the liberty to push a commit with a test so can see what I meant

Fair point! Let's also add for actions then, let me do it

…s` reactivity

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@skjnldsv
Copy link
Contributor Author

Done!

@skjnldsv skjnldsv merged commit 5ddd5bc into master Aug 11, 2023
8 checks passed
@skjnldsv skjnldsv deleted the fix/actions-headers branch August 11, 2023 12:19
@skjnldsv skjnldsv mentioned this pull request Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants