asap-feed-beta 12.7.2 → 12.7.4

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.
@@ -3419,7 +3419,7 @@ var FeedCommentsComponent = /** @class */ (function () {
3419
3419
  * @return {?}
3420
3420
  */
3421
3421
  function (user) { return user.id; }));
3422
- this.userService.usersChecked({ post_id: this.feed_id, user_id: selected_users, comment: comment, type: 'post' }, { comments: true }).subscribe();
3422
+ this.userService.usersChecked({ post_id: this.feed_id, user_id: selected_users, comment: comment, type: 'comment' }, { comments: true }).subscribe();
3423
3423
  this.onLoadingComment = true;
3424
3424
  collection.add(data);
3425
3425
  /** @type {?} */
@@ -5711,14 +5711,13 @@ var FeedPublicationComponent = /** @class */ (function () {
5711
5711
  }
5712
5712
  }));
5713
5713
  }
5714
+ console.log("share", data);
5714
5715
  this.publish(data).then((/**
5715
5716
  * @param {?} id
5716
5717
  * @return {?}
5717
5718
  */
5718
5719
  function (id) {
5719
- if (data.selected_users.length) {
5720
- _this.userService.usersChecked({ post_id: id, user_id: data.selected_users }).subscribe();
5721
- }
5720
+ _this.userService.usersChecked({ post_id: id, user_id: data.selected_users, comment: data.title, type: 'post' }, { comments: true }).subscribe();
5722
5721
  }));
5723
5722
  this.selectedUsers = [];
5724
5723
  };