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(files): Ensure the filter instance is mounted #50919

Merged
merged 3 commits into from
Feb 28, 2025

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Feb 20, 2025

Summary

reset could be called before the filters are mounted, in this case it is valid to update the presets, but we must not try to access the vue instance (as it does not exist yet).

Fixes:
grafik

Checklist

@susnux susnux requested review from a team and removed request for a team February 20, 2025 11:58
@susnux susnux requested a review from skjnldsv as a code owner February 20, 2025 11:58
@susnux susnux requested review from artonge, nfebe and sorbaugh February 20, 2025 11:58
@susnux
Copy link
Contributor Author

susnux commented Feb 20, 2025

/backport to stable31

@susnux susnux requested review from Pytal and removed request for nfebe February 20, 2025 11:58
@susnux susnux force-pushed the fix/type-error-filter-mount branch from 5aff466 to c200bc6 Compare February 20, 2025 14:30
@susnux
Copy link
Contributor Author

susnux commented Feb 20, 2025

/compile

@susnux susnux enabled auto-merge February 20, 2025 14:30
@AndyScherzinger AndyScherzinger added this to the Nextcloud 32 milestone Feb 20, 2025
@susnux susnux force-pushed the fix/type-error-filter-mount branch from aba0651 to 810c878 Compare February 27, 2025 17:48
@skjnldsv
Copy link
Member

🚀

susnux and others added 3 commits February 28, 2025 10:43
`reset` could be called before the filters are mounted,
in this case it is valid to update the presets, but we must not try to
access the vue instance (as it does not exist yet).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
prevent filters not applied if `filtersChanged` was set before file list
mounted.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux susnux force-pushed the fix/type-error-filter-mount branch from 810c878 to 8b16c84 Compare February 28, 2025 09:44
@susnux susnux merged commit d03eb3c into master Feb 28, 2025
121 checks passed
@susnux susnux deleted the fix/type-error-filter-mount branch February 28, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants