From 2726c275c7b8f2307fa4fdac6a617179651befb5 Mon Sep 17 00:00:00 2001 From: TheGoddessInari Date: Thu, 30 Jul 2020 22:12:34 -0700 Subject: [PATCH] Fix Slack Icon after Redesign Fixes #191. Co-authored-by: Marvin --- app/util/IconLoader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util/IconLoader.js b/app/util/IconLoader.js index 42b87a95..47aaddb5 100644 --- a/app/util/IconLoader.js +++ b/app/util/IconLoader.js @@ -23,7 +23,7 @@ Ext.define('Hamsket.util.IconLoader', { `(() => { let icon = document.querySelector('.c-team_icon'); if (!icon) { - const doc = document.querySelector('#team-menu-trigger'); + const doc = document.querySelector('.p-ia__sidebar_header__button') || document.querySelector('#team-menu-trigger'); if (doc) { doc.click(); icon = document.querySelector('.c-team_icon');