diff --git a/public/app/features/dashboard/folder_picker/folder_picker.ts b/public/app/features/dashboard/folder_picker/folder_picker.ts index 05356c139cf..74b13c5c2a5 100644 --- a/public/app/features/dashboard/folder_picker/folder_picker.ts +++ b/public/app/features/dashboard/folder_picker/folder_picker.ts @@ -115,6 +115,9 @@ export class FolderPickerCtrl { if (this.initialFolderId && this.initialFolderId > 0) { this.getOptions('').then(result => { this.folder = _.find(result, { value: this.initialFolderId }); + if (!this.folder) { + this.folder = { text: this.initialTitle, value: this.initialFolderId }; + } this.onFolderLoad(); }); } else {