Skip to content

Commit 7a8c981

Browse files
committed
Adds null check
1 parent 2ea9388 commit 7a8c981

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lara-JS/src-api/lara/util/DataStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export default class DataStore {
224224
"joptions_current_folder_path"
225225
);
226226

227-
if (currentFolder.isEmpty()) {
227+
if (currentFolder == null || currentFolder.isEmpty()) {
228228
return undefined;
229229
}
230230

0 commit comments

Comments
 (0)