From d59ff8c6eb7669d82c14294405460920f6072574 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Mon, 2 Apr 2018 12:50:02 +0630 Subject: [PATCH] update show table for instance set --- app/views/origami/home/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/origami/home/show.html.erb b/app/views/origami/home/show.html.erb index b108c46d..494decbe 100755 --- a/app/views/origami/home/show.html.erb +++ b/app/views/origami/home/show.html.erb @@ -300,7 +300,7 @@ <% end %> <% end %> - <% if !order_item.set_menu_items.nil? + <% if !order_item.set_menu_items.nil? && order_item.set_menu_items != '[]' JSON.parse(order_item.set_menu_items).each do |item_instance| %>
<%= item_instance["item_instance_name"] %>