app/views/mission_control/servers/projects/show.html.erb in mission_control-servers-0.2.0 vs app/views/mission_control/servers/projects/show.html.erb in mission_control-servers-0.2.1

- old
+ new

@@ -39,11 +39,11 @@ </span> </span> </div> </div> - -<%= tag.div data: { controller: "tabs", "tabs-refresh-interval-value": (params[:interval].to_i * 1000 || 10_000 ) } do %> +<% interval = params[:interval].present? ? params[:interval].to_i * 1000 : 10_000 %> +<%= tag.div data: { controller: "tabs", "tabs-refresh-interval-value": interval } do %> <div class="mt-3"> <div class=""> <!-- Current: "text-gray-900", Default: "text-gray-500 hover:text-gray-700" --> <nav class="isolate flex divide-x divide-gray-200 dark:divide-gray-500 rounded-lg shadow" aria-label="Tabs"> <% @services.each_with_index do |(hostname, services), index| %>