Commit 2f07b089 authored by David Mendez's avatar David Mendez
Browse files

Datasets: post message when state changed to parent

parent 28cc9f38
import { mapState } from 'vuex'
export const embeddingStateMixin = {
props: {
idForParent: {
type: String,
default: () => undefined,
},
},
computed: mapState({
isEmbedded: (state) => state.embedding.isEmbedded,
}),
......
......@@ -11,8 +11,6 @@ export const resizeMessagesMixin = {
idForParent: this.idForParent,
...resizeData,
}
console.log('handle resize!')
console.log('msgData: ', msgData)
window.parent.postMessage(
{ msg: 'EMBEDDED_VUE_RESIZED', data: msgData },
process.env.iframeTargetOrigin
......
Subproject commit 24d62b3bde7aa9670fcf0010319876f1b3818ef8
Subproject commit e6dacd6436d81969b200d59900426a9aaceb5c18
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment