Inverted conditionals in estimates and invoices lists to use 'unless'

This commit is contained in:
2026-01-31 12:54:07 -05:00
parent 92460392b9
commit 6f33e9d23d
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<% if estimates.empty? %>
<% unless estimates.empty? %>
<% estimates.sort.reverse.each do |estimate| %>
<div class="row">

View File

@@ -1,4 +1,4 @@
<% if invoices.empty? %>
<% unless invoices.empty? %>
<%= form_with(url: invoice_path, method: :get) do |form| %>