Skip to content

Commit

Permalink
fix(slack): Fix toggl button disappeared on channel toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
with-shrey committed May 24, 2024
1 parent 19805fc commit 2ea15ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const getTextContent = (element) => element ? element.textContent.trim() : '';

const getWorkspaceName = () => getTextContent($('.p-ia__sidebar_header__team_name_text'));

togglbutton.render('.p-ia__view_header:not(.toggl)', { observe: true }, (elem) => {
togglbutton.render('.p-view_header:not(.toggl)', { observe: true }, (elem) => {
const description = $('[data-qa="channel_name"]');
const isRendered = $('.toggl-button', elem) != null;

Expand Down

0 comments on commit 2ea15ed

Please sign in to comment.