mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
fix(NA): type failures
This commit is contained in:
parent
085d2368b0
commit
e10dd38768
2 changed files with 2 additions and 2 deletions
|
@ -306,7 +306,7 @@ export const initializeDashboard = async ({
|
|||
// --------------------------------------------------------------------------------------
|
||||
// Place the incoming embeddable if there is one
|
||||
// --------------------------------------------------------------------------------------
|
||||
const incomingEmbeddable = creationOptions?.getIncomingEmbeddable?.();
|
||||
const incomingEmbeddable = creationOptions?.getIncomingEmbeddable?.() as any;
|
||||
if (incomingEmbeddable) {
|
||||
const scrolltoIncomingEmbeddable = (container: DashboardContainer, id: string) => {
|
||||
container.setScrollToPanelId(id);
|
||||
|
|
|
@ -40,7 +40,7 @@ export const useIncomingEmbeddable = (selectedPage: CanvasPage) => {
|
|||
|
||||
useEffect(() => {
|
||||
if (isByValueEnabled && incomingEmbeddable) {
|
||||
const { embeddableId, input: incomingInput, type } = incomingEmbeddable;
|
||||
const { embeddableId, input: incomingInput, type } = incomingEmbeddable as any;
|
||||
|
||||
// retrieve existing element
|
||||
const originalElement = selectedPage.elements.find(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue