mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22:49 +00:00
fix: 子任务通知无法打开
This commit is contained in:
parent
414b423311
commit
4845e2e6a6
@ -1456,7 +1456,8 @@ class ProjectTask extends AbstractModel
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$taskHtml = "<span class=\"mention task\" data-id=\"{$this->id}\">#{$this->name}</span>";
|
$dataId = $this->parent_id ?: $this->id;
|
||||||
|
$taskHtml = "<span class=\"mention task\" data-id=\"{$dataId}\">#{$this->name}</span>";
|
||||||
$text = match ($type) {
|
$text = match ($type) {
|
||||||
1 => "您的任务 {$taskHtml} 即将超时。",
|
1 => "您的任务 {$taskHtml} 即将超时。",
|
||||||
2 => "您的任务 {$taskHtml} 已经超时。",
|
2 => "您的任务 {$taskHtml} 已经超时。",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user