remapping gql from placeholder to $me.store
This commit is contained in:
@ -60,13 +60,15 @@
|
||||
subscribeAndMapQueries(component.id, component.data.map);
|
||||
}
|
||||
if (component.data?.gql) {
|
||||
getComposerStore(component.id).update((storeValue) => ({
|
||||
...storeValue,
|
||||
x: {
|
||||
...storeValue.x,
|
||||
...component.data.gql
|
||||
}
|
||||
}));
|
||||
getComposerStore(component.id).update((storeValue) => {
|
||||
return {
|
||||
...storeValue,
|
||||
store: {
|
||||
...storeValue.store,
|
||||
...component.data.gql
|
||||
}
|
||||
};
|
||||
});
|
||||
}
|
||||
}
|
||||
getComposerStore(component.id).update((storeValue) => ({
|
||||
|
Reference in New Issue
Block a user