Don't overwrite task notes when selecting product
This commit is contained in:
parent
26e2a6e557
commit
0bdcc50e5a
1 changed files with 1 additions and 1 deletions
|
|
@ -906,7 +906,7 @@ ko.bindingHandlers.productTypeahead = {
|
|||
if (model.expense_public_id()) {
|
||||
return;
|
||||
}
|
||||
if (datum.notes) {
|
||||
if (datum.notes && (!model.notes() || !model.task_public_id())) {
|
||||
model.notes(datum.notes);
|
||||
}
|
||||
if (datum.cost) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue