@verdocs/web-sdk 5.0.31 → 5.0.32

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 = {};