Add inbox tabs blahs
This commit is contained in:
parent
f63f8dd77c
commit
268a4282db
3 changed files with 20 additions and 8 deletions
|
|
@ -969,6 +969,12 @@ function switchInvitesTab(tab) {
|
|||
document.getElementById('tab-invites-received').classList.add('tab-inactive');
|
||||
document.getElementById('tab-invites-sent').classList.add('tab-inactive');
|
||||
document.getElementById(`tab-invites-${tab}`).classList.remove('tab-inactive');
|
||||
|
||||
|
||||
if (tab == "received")
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function switchNotifisTab(tab) {
|
||||
|
|
@ -991,14 +997,16 @@ async function gotoInbox() {
|
|||
}
|
||||
}
|
||||
|
||||
function gotoInvites() {
|
||||
async function gotoInvites() {
|
||||
setActiveRoombarItem('collapse-invites');
|
||||
switchRoomContent("title.invites", invitesScreen, false);
|
||||
await switchRoomContent("title.invites", invitesScreen, false);
|
||||
switchInvitesTab('received');
|
||||
}
|
||||
|
||||
function gotoNotifis() {
|
||||
async function gotoNotifis() {
|
||||
setActiveRoombarItem('collapse-notifis');
|
||||
switchRoomContent("title.notifications", notifisScreen, false);
|
||||
await switchRoomContent("title.notifications", notifisScreen, false);
|
||||
switchNotifisTab('all');
|
||||
}
|
||||
|
||||
function gotoCreateSpace() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue