forked from janek/mostr
fix(tasks): comment persistence
This commit is contained in:
parent
486cbb1ab4
commit
14dcc8f0ff
|
@ -508,7 +508,8 @@ impl Tasks {
|
||||||
match self.position {
|
match self.position {
|
||||||
None => warn!("Cannot add note '{}' without active task", note),
|
None => warn!("Cannot add note '{}' without active task", note),
|
||||||
Some(id) => {
|
Some(id) => {
|
||||||
self.submit(EventBuilder::text_note(note, vec![]));
|
let prop = self.build_prop(Kind::TextNote, note, id);
|
||||||
|
self.submit(prop);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue