diff --git a/public/app/core/components/Select/FolderPicker.tsx b/public/app/core/components/Select/FolderPicker.tsx index 20899e345b7..27961aa4ad5 100644 --- a/public/app/core/components/Select/FolderPicker.tsx +++ b/public/app/core/components/Select/FolderPicker.tsx @@ -110,7 +110,7 @@ export class FolderPicker extends PureComponent { let folder: SelectableValue = { value: -1 }; - if (initialFolderId !== undefined && initialFolderId > -1) { + if (initialFolderId !== undefined && initialFolderId !== null && initialFolderId > -1) { folder = options.find(option => option.value === initialFolderId) || { value: -1 }; } else if (enableReset && initialTitle) { folder = resetFolder;