Skip to content

Commit db5a46a

Browse files
committed
fix(asana): no more double button
1 parent 3e50635 commit db5a46a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/content/asana.js

+5
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ togglbutton.render(
5656
(element) => {
5757
console.debug('DEBUG: Entering in SpreadsheetRow')
5858

59+
// Due to the way this UI is rendered, we must check for existence of old buttons manually.
60+
if (element.parentNode.querySelector('.toggl-button')) {
61+
return
62+
}
63+
5964
const getDescription = () => {
6065
return element.querySelector('textarea').textContent.trim()
6166
}

0 commit comments

Comments
 (0)