Update projectId query selector for asana service
This commit is contained in:
@@ -13,7 +13,7 @@ export default {
|
|||||||
document.querySelector(".SingleTaskPane textarea")?.textContent?.trim(),
|
document.querySelector(".SingleTaskPane textarea")?.textContent?.trim(),
|
||||||
projectId: document => {
|
projectId: document => {
|
||||||
const match = document
|
const match = document
|
||||||
.querySelector(".ProjectPageHeader-projectName")
|
.querySelector(".TaskProjectPill-projectName")
|
||||||
?.textContent?.trim()
|
?.textContent?.trim()
|
||||||
?.match(projectRegex)
|
?.match(projectRegex)
|
||||||
return match && match[1]
|
return match && match[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user