@verdocs/web-sdk 5.0.31 → 5.0.32

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.
@@ -131,7 +131,8 @@ const VerdocsSend = class {
131
131
  async listenToTemplate() {
132
132
  console.log('[SEND] Loading template', this.templateId);
133
133
  this.unlistenToTemplate();
134
- Datastore.Store.subscribe('templates', this.templateId, () => jsSdk.getTemplate(this.endpoint, this.templateId), false, (template) => {
134
+ Datastore.Store.subscribe('templates', this.templateId, () => jsSdk.getTemplate(this.endpoint, this.templateId), true, (template) => {
135
+ console.log('[SEND] Got new template', template);
135
136
  this.template = template;
136
137
  this.loading = false;
137
138
  this.rolesCompleted = {};