Refactor ZenSidebarManager.mjs to remove console.log statement

Refactor ZenWorkspaces.mjs to remove console.log statements
This commit is contained in:
mauro-balades 2024-09-12 19:54:28 +02:00
parent c9c5c94e8d
commit 89f28b307d
2 changed files with 0 additions and 4 deletions

View file

@ -304,7 +304,6 @@ var gZenBrowserManagerSidebar = {
let data = this.sidebarData;
let newPos = [];
for (let element of this.__dragingElement.parentNode.children) {
console.log(element);
let panelId = element.getAttribute('zen-sidebar-id');
newPos.push(panelId);
}

View file

@ -239,12 +239,9 @@ var ZenWorkspaces = {
if (workspace.default) {
element.setAttribute('default', 'true');
}
console.log(ContextualIdentityService.getPublicIdentities())
console.log(workspace)
const containerGroup = ContextualIdentityService.getPublicIdentities().find(
(container) => container.userContextId === workspace.containerTabId
);
console.log(containerGroup)
if (containerGroup) {
element.classList.add("identity-color-" + containerGroup.color);
element.setAttribute("data-usercontextid", containerGroup.userContextId);