mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 19:54:30 -04:00
Don't overwrite task notes when selecting product
This commit is contained in:
parent
8aa0faf203
commit
af516ec2d7
@ -906,7 +906,7 @@ ko.bindingHandlers.productTypeahead = {
|
|||||||
if (model.expense_public_id()) {
|
if (model.expense_public_id()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (datum.notes) {
|
if (datum.notes && (!model.notes() || !model.task_public_id())) {
|
||||||
model.notes(datum.notes);
|
model.notes(datum.notes);
|
||||||
}
|
}
|
||||||
if (datum.cost) {
|
if (datum.cost) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user