Query Library: Add title param when creating a query (#106713)

* Query Library: Add title param when creating a query

* kick CI

---------

Co-authored-by: Collin Fingar <collin.fingar@grafana.com>
pull/106277/head^2
Ezequiel Victorero 1 month ago committed by GitHub
parent b68166c437
commit dd7fbb7b64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      public/app/features/explore/QueryLibrary/QueryLibraryContext.tsx

@ -34,10 +34,11 @@ export type QueryLibraryContextType = {
* @param options.onSave Callback that will be called after the query is saved.
* @param options.context Used for tracking. Should identify the context this is called from, like 'explore' or
* 'dashboard'.
* @param options.title Default title for the modal, can be overridden by the query title.
*/
openAddQueryModal: (
query: DataQuery,
options?: { isDuplicating?: boolean; onSave?: () => void; context?: string }
options?: { onSave?: () => void; context?: string; title?: string; isDuplicating?: boolean }
) => void;
closeAddQueryModal: () => void;

Loading…
Cancel
Save