Skip to content

Commit

Permalink
Fix branching error
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasCF authored Mar 28, 2021
1 parent aa9a1d6 commit b13dd81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class BookingDetailsComponent implements OnInit {
this.itemsService.getItemsList().subscribe((data) => {
this.itemArray = data.filter((item) => item.item_status === 'Active');
const itemGroupTemplate = this.parseItems(this.itemArray);
if (history.state.edit) {
if (!history.state.edit) {
this.itemGroups = [itemGroupTemplate];
} else {
history.state.booked_items.forEach(() => {
Expand Down

0 comments on commit b13dd81

Please sign in to comment.