Asana: Read project identifier from topbar page header

This commit is contained in:
Manuel Bouza
2019-12-10 19:58:46 +01:00
parent d9a2617875
commit 31f124b8fd

View File

@@ -17,7 +17,7 @@ export default {
document.querySelector(".ItemRow--highlighted textarea")?.textContent?.trim() || document.querySelector(".ItemRow--highlighted textarea")?.textContent?.trim() ||
document.querySelector(".ItemRow--focused textarea")?.textContent?.trim() || document.querySelector(".ItemRow--focused textarea")?.textContent?.trim() ||
document.querySelector(".SingleTaskPane textarea")?.textContent?.trim(), document.querySelector(".SingleTaskPane textarea")?.textContent?.trim(),
projectId: projectIdentifierBySelector(".TaskProjectPill-projectName"), projectId: projectIdentifierBySelector(".TopbarPageHeaderStructure-titleRow h1"),
}, },
"github-pr": { "github-pr": {