@factoringplus/pl-components-pack-v3 0.5.2-pre-6 → 0.5.2-pre-7

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.
@@ -47455,6 +47455,7 @@ const useSelectedChannelStore = defineStore("selectedChannel", {
47455
47455
  async getChatMessagesByChannelId(count2) {
47456
47456
  try {
47457
47457
  const messages2 = await apiChat.getChatMessagesByChannelId(this.api, this.baseUrl, this.channelId, this.afterMessagesLoaded, count2);
47458
+ console.log("messages getChatMessagesByChannelId", messages2);
47458
47459
  if (messages2.length < 10) {
47459
47460
  this.afterMessagesLoaded = true;
47460
47461
  }
@@ -50621,6 +50622,9 @@ const _sfc_main = {
50621
50622
  channelsStore.setIsHubsConnected(false);
50622
50623
  }
50623
50624
  };
50625
+ watch(channelsStore.channelCategory, async () => {
50626
+ await getChannelsInfo();
50627
+ });
50624
50628
  chatManagerStart();
50625
50629
  return (_ctx, _cache) => {
50626
50630
  return openBlock(), createBlock(_sfc_main$c, { "btn-text": "\u0427\u0430\u0442 \u0441 \u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043C\u0438" }, {