Skip to content

Commit 42e6af4

Browse files
authored
fix(asana): no more double button (#2370)
1 parent 3e50635 commit 42e6af4

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)