@servicetitan/dte-unlayer 0.46.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/store.ts CHANGED
@@ -219,7 +219,7 @@ export class UnlayerStore {
219
219
  } else if (type === '--save-snapshot') {
220
220
  this.editor?.exportHtml(template => {
221
221
  unlayerToolsIterate(template.design, tool => {
222
- if (tool.values?.snapshot?.id === data.id) {
222
+ if (tool.values?.twin?.id === data.id) {
223
223
  if (!tool.slug) {
224
224
  return;
225
225
  }