File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { getApp } from '../app'
66import { getState } from '../../state/store'
77import { unset } from 'lodash'
88import { processAllMetadata } from '../metadataProcessor'
9+ import { getParsedIframeInfo } from '../origin'
910
1011
1112export async function planActionsRemote ( {
@@ -42,6 +43,7 @@ export async function planActionsRemote({
4243 // Check if analyst mode is enabled
4344 if ( currentState . settings . drMode && currentState . settings . analystMode ) {
4445 try {
46+ const parsedInfo = getParsedIframeInfo ( )
4547 const { cardsHash, dbSchemaHash, fieldsHash, selectedDbId } = await getAllMetadataPromise ;
4648 // @ts -ignore
4749 payload . cardsHash = cardsHash ;
@@ -51,6 +53,8 @@ export async function planActionsRemote({
5153 payload . fieldsHash = fieldsHash ;
5254 // @ts -ignore
5355 payload . selectedDbId = `${ selectedDbId } ` ;
56+ // @ts -ignore
57+ payload . r = parsedInfo . r ;
5458 console . log ( '[minusx] Added metadata hashes to request for analyst mode' ) ;
5559 } catch ( error ) {
5660 console . warn ( '[minusx] Failed to fetch metadata for analyst mode:' , error ) ;
You can’t perform that action at this time.
0 commit comments