projects
/
outofuni
/
tavern2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update views + reduced providers in main app
[outofuni/tavern2.git]
/
lib
/
product_detail_component.dart
diff --git
a/lib/product_detail_component.dart
b/lib/product_detail_component.dart
index
14ba7a7
..
59f9fab
100644
(file)
--- a/
lib/product_detail_component.dart
+++ b/
lib/product_detail_component.dart
@@
-70,9
+70,12
@@
class ProductDetailComponent implements OnInit {
await _prodSrv.updateProd(
prod.id,
prod_name,
-
double.parse(prod_price)
,
+
prod_price
,
prod_category
);
+ prod.price=prod_price;
+ prod.name=prod_name;
+ prod.category=prod_category;
}
}