Skip to content

Commit

Permalink
Passing in setOriginatingApp parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Maja Grubic committed Aug 11, 2020
1 parent 24c1948 commit d4b69dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export const VisualizeByValueEditor = () => {
hasUnappliedChanges={hasUnappliedChanges}
isEmbeddableRendered={isEmbeddableRendered}
originatingApp={originatingApp}
setOriginatingApp={setOriginatingApp}
setHasUnsavedChanges={setHasUnsavedChanges}
visEditorRef={visEditorRef}
embeddableId={embeddableId}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const VisualizeEditor = () => {
hasUnappliedChanges={hasUnappliedChanges}
isEmbeddableRendered={isEmbeddableRendered}
originatingApp={originatingApp}
setOriginatingApp={setOriginatingApp}
visualizationIdFromUrl={visualizationIdFromUrl}
setHasUnsavedChanges={setHasUnsavedChanges}
visEditorRef={visEditorRef}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ interface VisualizeEditorCommonProps {
isEmbeddableRendered: boolean;
visEditorRef: RefObject<HTMLDivElement>;
originatingApp?: string;
setOriginatingApp?: (originatingApp: string | undefined) => void;
visualizationIdFromUrl?: string;
embeddableId?: string;
}
Expand All @@ -54,6 +55,7 @@ export const VisualizeEditorCommon = ({
hasUnappliedChanges,
isEmbeddableRendered,
originatingApp,
setOriginatingApp,
visualizationIdFromUrl,
embeddableId,
visEditorRef,
Expand All @@ -69,6 +71,7 @@ export const VisualizeEditorCommon = ({
isEmbeddableRendered={isEmbeddableRendered}
hasUnappliedChanges={hasUnappliedChanges}
originatingApp={originatingApp}
setOriginatingApp={setOriginatingApp}
visInstance={visInstance}
stateContainer={appState}
visualizationIdFromUrl={visualizationIdFromUrl}
Expand Down

0 comments on commit d4b69dc

Please sign in to comment.