Fix TypeError regarding pathLocks in blob_content_viewer
Problem
projectInfoQuery throws TypeError:
Cannot read properties of null (reading 'pathLocks')
and can’t default to BLOB_DEFAULT_INFO
Solution
Add the optional chaining operator (?) when assigning pathLocks:
update({ project }) {
this.pathLocks = project?.pathLocks || DEFAULT_BLOB_INFO.pathLocks;
Edited by Chaoyue Zhao