Skip to content

Commit

Permalink
remove altrep parameter upon description update
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
  • Loading branch information
max65482 committed Jan 29, 2022
1 parent 24a67fe commit 717b505
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/models/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ export default class Task {

set note(note) {
this.vtodo.updatePropertyWithValue('description', note)
this.vtodo.getFirstProperty('description').removeParameter('altrep')
this.updateLastModified()
this._note = this.vtodo.getFirstPropertyValue('description') || ''
}
Expand Down

0 comments on commit 717b505

Please sign in to comment.