1
0

fix(task): don't build partial task identifier

This commit is contained in:
kolaente
2023-06-07 20:33:18 +02:00
parent 7b7a914560
commit 4ed2d305f0
2 changed files with 4 additions and 4 deletions

View File

@ -579,7 +579,7 @@ func getRemindersForTasks(s *xorm.Session, taskIDs []int64) (reminders []*TaskRe
}
func (t *Task) setIdentifier(project *Project) {
if project == nil {
if project == nil || (project != nil && project.Identifier == "") {
t.Identifier = "#" + strconv.FormatInt(t.Index, 10)
return
}