This commit is contained in:
Mehdi104797 2025-04-03 13:27:25 +03:30
parent daf14f2b1b
commit 40b37e8f08

View File

@ -1626,9 +1626,10 @@ export default {
target.classList.add("error");
},
getGroupTypes() {
let url = chatApi.forms.groupTypes;
console.log("🚀 ~ getGroupTypes ~ url:", url);
this.httpService.postRequest("api/keyvalue/" + url).then((response) => {
this.httpService.postRequest("keyvalue/" + url).then((response) => {
this.groupfilters = response.data;
});
},
@ -1710,7 +1711,7 @@ export default {
if (this.fetchingData) return;
this.fetchingData = true;
let url = "api/message/" + chatApi[listType].list;
let url = "message/" + chatApi[listType].list;
// let urlPrefix = chatApi.groups.list;
if (!(listType == "lobbies" || listType == "unReads"))
@ -2081,6 +2082,7 @@ export default {
},
showMessages(groups, groupItem, index) {
const { $eventBus } = useNuxtApp();
$eventBus.emit("close-replays");