feat: add back onMounted in channelId view
This commit is contained in:
parent
315258a8d5
commit
317ec4bcd6
1 changed files with 9 additions and 0 deletions
|
@ -66,6 +66,15 @@ const membersContainername = "membersListWidth"
|
||||||
|
|
||||||
const { fetchMembers } = useApi();
|
const { fetchMembers } = useApi();
|
||||||
|
|
||||||
|
onMounted(async () => {
|
||||||
|
console.log("mounting");
|
||||||
|
const guildUrl = `guilds/${route.params.serverId}`;
|
||||||
|
server.value = await fetchWithApi(guildUrl);
|
||||||
|
console.log("fetched guild");
|
||||||
|
await setArrayVariables();
|
||||||
|
console.log("set array variables");
|
||||||
|
});
|
||||||
|
|
||||||
onActivated(async () => {
|
onActivated(async () => {
|
||||||
console.log("activating");
|
console.log("activating");
|
||||||
loadSidebarWidths();
|
loadSidebarWidths();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue