From 5155fd5221e866fc02c06a4a3c13c34ceea48495 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Mon, 2 Apr 2018 13:09:16 +0630 Subject: [PATCH] update show table for instance set --- app/views/origami/rooms/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/origami/rooms/show.html.erb b/app/views/origami/rooms/show.html.erb index e2f04018..5bc46c84 100755 --- a/app/views/origami/rooms/show.html.erb +++ b/app/views/origami/rooms/show.html.erb @@ -370,7 +370,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"] %>