-
Notifications
You must be signed in to change notification settings - Fork 159
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: share indicator loading after pasting resources #9110
Conversation
Kudos, SonarCloud Quality Gate passed! |
context.commit('UPSERT_RESOURCES', fetchedResources) | ||
context.commit('LOAD_INDICATORS', currentFolder.path) |
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.
is it possible that the currentFolder
var can be nullish?
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.
I thought about it, but I don't see a scenario where we don't have a folder to paste into. Do you?
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.
True. And now that I looked at it in detail - the currentFolder is already used at the top of the function. So yeah, fine like that 😅
context.commit('UPSERT_RESOURCES', fetchedResources) | ||
context.commit('LOAD_INDICATORS', currentFolder.path) |
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.
True. And now that I looked at it in detail - the currentFolder is already used at the top of the function. So yeah, fine like that 😅
Related Issue
Types of changes