Skip to content

Commit

Permalink
linter prefers unless over if not
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdk committed Oct 6, 2021
1 parent 11c9d2b commit 8bea8bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/document-attachments.hbs
Expand Up @@ -18,7 +18,7 @@
</tr>
</thead>
<tbody>
{{#if (not @decisions.length)}}
{{#unless @decisions.length}}
<tr>
<td colspan="5">
<AuAlert @alertIcon="alert-triangle" @alertTitle={{t "attachments.noDecisionsFound"}} @alertskin="warning">
Expand Down

0 comments on commit 8bea8bc

Please sign in to comment.