@factoringplus/pl-components-pack-v3 0.5.2-pre-15 → 0.5.2-pre-16
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.
|
@@ -47495,7 +47495,6 @@ const useSelectedChannelStore = defineStore("selectedChannel", {
|
|
|
47495
47495
|
},
|
|
47496
47496
|
async getSelectedChannelInfo(selectedChannel, callback) {
|
|
47497
47497
|
try {
|
|
47498
|
-
this.afterMessagesLoaded = false;
|
|
47499
47498
|
this.channelId = selectedChannel.channelId;
|
|
47500
47499
|
this.participant = selectedChannel.participant;
|
|
47501
47500
|
await this.getChatMessagesByChannelId(10);
|
|
@@ -50343,6 +50342,7 @@ const _sfc_main$2 = {
|
|
|
50343
50342
|
}
|
|
50344
50343
|
};
|
|
50345
50344
|
const selectChannel = async (channel) => {
|
|
50345
|
+
selectedChannelStore.$reset();
|
|
50346
50346
|
await selectedChannelStore.getSelectedChannelInfo(channel, () => setScroll());
|
|
50347
50347
|
channelsStore.setIsChannelsList(false);
|
|
50348
50348
|
channelsStore.setIsOpenChannel(true);
|