We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bcb8e1 commit f348133Copy full SHA for f348133
1 file changed
src/helpers/files.js
@@ -213,6 +213,11 @@ export const FilesWorkspaceHeader = new Header({
213
updated(folder, view) {
214
newWorkspaceCreated = false
215
216
+ if (!vm) {
217
+ console.warn('No vue instance found for FilesWorkspaceHeader')
218
+ return
219
+ }
220
+
221
// Currently there is not much use in updating the vue instance props since render is called on every folder change
222
// removing the rendered element from the DOM
223
// This is only relevant if switching to a folder that has no content as then the render function is not called
0 commit comments