@factoringplus/pl-components-pack-v3 0.5.2-pre-8 → 0.5.2-pre-10
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.
|
@@ -47454,6 +47454,7 @@ const useSelectedChannelStore = defineStore("selectedChannel", {
|
|
|
47454
47454
|
},
|
|
47455
47455
|
async getChatMessagesByChannelId(count2) {
|
|
47456
47456
|
try {
|
|
47457
|
+
console.log("this.channelId", this.channelId);
|
|
47457
47458
|
const messages2 = await apiChat.getChatMessagesByChannelId(this.api, this.baseUrl, this.channelId, this.afterMessagesLoaded, count2);
|
|
47458
47459
|
console.log("messages getChatMessagesByChannelId", messages2);
|
|
47459
47460
|
if (messages2.length < 10) {
|
|
@@ -47504,6 +47505,8 @@ const useSelectedChannelStore = defineStore("selectedChannel", {
|
|
|
47504
47505
|
},
|
|
47505
47506
|
async getSelectedChannelInfo(selectedChannel, callback) {
|
|
47506
47507
|
try {
|
|
47508
|
+
console.log("selectedChannel", selectedChannel);
|
|
47509
|
+
this.afterMessagesLoaded = false;
|
|
47507
47510
|
this.channelId = selectedChannel.channelId;
|
|
47508
47511
|
this.participant = selectedChannel.participant;
|
|
47509
47512
|
await this.getChatMessagesByChannelId(10);
|