Read project identifier in asana service (#7)
This commit is contained in:
committed by
Tobias Miesel
parent
a3f94738b6
commit
0f5172a820
@@ -17,7 +17,14 @@ export default {
|
||||
document
|
||||
.querySelector(".ItemRow--focused textarea")
|
||||
?.textContent?.trim() ||
|
||||
document.querySelector(".SingleTaskPane textarea")?.textContent?.trim()
|
||||
document.querySelector(".SingleTaskPane textarea")?.textContent?.trim(),
|
||||
projectId: document => {
|
||||
const match = document
|
||||
.querySelector(".ProjectPageHeader-projectName")
|
||||
?.textContent?.trim()
|
||||
?.match(/^\[(\w+)\]/)
|
||||
return match && match[1]
|
||||
}
|
||||
},
|
||||
|
||||
"github-pr": {
|
||||
|
||||
Reference in New Issue
Block a user