|
|
|
@ -150,6 +150,7 @@ const chatsTab = document.getElementById('chatsTab');
|
|
|
|
|
const visitorsTab = document.getElementById('visitorsTab');
|
|
|
|
|
|
|
|
|
|
function switchToChats() {
|
|
|
|
|
showLoader();
|
|
|
|
|
whereAmI = 'Chats';
|
|
|
|
|
chatsTab.classList.add('bg-white', 'text-secondosiblue', 'shadow-md');
|
|
|
|
|
chatsTab.classList.remove('bg-gray-100', 'text-gray-400');
|
|
|
|
@ -162,6 +163,7 @@ function switchToChats() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function switchToVisitors() {
|
|
|
|
|
showLoader();
|
|
|
|
|
whereAmI = 'Visitors';
|
|
|
|
|
visitorsTab.classList.add('bg-white', 'text-secondosiblue', 'shadow-md');
|
|
|
|
|
visitorsTab.classList.remove('bg-gray-100', 'text-gray-400');
|
|
|
|
|