Skip to content

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
@printminion-co
Copy link
Contributor

/backport to stable30

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.

7 participants