Skip to content
Snippets Groups Projects
Commit d5abc6c8 authored by Alicia.DeDiosFuente's avatar Alicia.DeDiosFuente
Browse files

fix: possibility to edit order until it is not ready

parent cc48e657
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ export class OrderMyOrderListRoutable extends SharedAbstractListRoutable<Order,
}
conditionDisplayEditButton(model: Order | undefined): boolean {
return true;
return model.status !== Order.StatusEnum.READY;
}
conditionDisplayDeleteButton(model: Order | undefined): boolean {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment