diff --git a/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx b/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx index 6f05b78689e..db9e131b771 100644 --- a/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx +++ b/public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx @@ -30,7 +30,7 @@ export type QueryLibraryContextType = { * @param newQuery New query to be added to the library. */ openDrawer: (options: QueryLibraryDrawerOptions) => void; - closeDrawer: () => void; + closeDrawer: (isSelectingQuery?: boolean, isEditingQuery?: boolean) => void; isDrawerOpen: boolean; onSave?: () => void;