-
Notifications
You must be signed in to change notification settings - Fork 156
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 resolving drives in search results #8045
Conversation
ee03c14
to
7fbd0a8
Compare
7fbd0a8
to
d63d8b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you think of a regression-test in jest? We could write one for the GenericSpace
view that checks the call to the loader task whenever the item
or space
changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@@ -348,6 +353,10 @@ export default defineComponent({ | |||
]), | |||
|
|||
async performLoaderTask(sameRoute: boolean, path?: string, fileId?: string | number) { | |||
if (this.loadResourcesTask.isRunning) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the record: If space
and item
(= relative item path in that space) both changed, the loader task is called twice. This is skipping one of the task executions.
Description
We've fixed a bug where folder listing was not reloaded when being in a space/share root and navigating into another space/share root via search.
Related Issue
Types of changes