Fixed "Copy card link to clipboard" icon often not working.

Thanks to brlin-tw and xet7 !

Fixes #6068
This commit is contained in:
Lauri Ojansivu 2026-01-18 15:21:33 +02:00
parent 4473ca09f6
commit d337afd5d3
3 changed files with 8 additions and 5 deletions

View file

@ -1067,10 +1067,10 @@ Boards.helpers({
},
absoluteUrl() {
return FlowRouter.url('board', { id: this._id, slug: this.slug });
return FlowRouter.url('board', { id: this._id, slug: this.slug || 'board' });
},
originRelativeUrl() {
return FlowRouter.path('board', { id: this._id, slug: this.slug });
return FlowRouter.path('board', { id: this._id, slug: this.slug || 'board' });
},
colorClass() {