Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions scripts/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ class BackgroundWorker {
let taskName = card.name.match(/(?<=#)[A-Za-z0-9_-]+/)?.[0];

if (taskName === undefined) {
taskName = `${taskPrefix}_${card.idShort}`;

taskName = `${taskPrefix}_${card.idShort}_${card.shortLink}`;
await trektor.trelloGateway.updateCard(card.id, {
name: `${card.name} #${taskName}`,
});
Expand Down
2 changes: 1 addition & 1 deletion scripts/firefox.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
new BackgroundWorker().run()
new BackgroundWorker().run()
1 change: 0 additions & 1 deletion scripts/trektor.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ class TogglGateway {
}
}


const trektor = {
trelloGateway: new TrelloGateway(browser.storage.local),
togglGateway: new TogglGateway(browser.storage.local),
Expand Down