mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 01:08:28 +02:00
Switch to BiomeJS (#306)
This commit is contained in:
@@ -15,7 +15,9 @@ function getParentFolders(
|
||||
): Folder[] {
|
||||
if (currentModel == null) return [];
|
||||
|
||||
const parentFolder = currentModel.folderId ? folders.find((f) => f.id === currentModel.folderId) : null;
|
||||
const parentFolder = currentModel.folderId
|
||||
? folders.find((f) => f.id === currentModel.folderId)
|
||||
: null;
|
||||
if (parentFolder == null) {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user