mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 19:53:39 +00:00
no procesar la fila el array está vacío
This commit is contained in:
parent
c287ec649a
commit
cc06bcc385
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
||||||
%table
|
%table
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
- data.first.keys.each do |k|
|
- !data.empty? && data.first.keys.each do |k|
|
||||||
%th= k.humanize
|
%th= k.humanize
|
||||||
%tbody
|
%tbody
|
||||||
- data.each do |r|
|
- data.each do |r|
|
||||||
|
|
Loading…
Reference in a new issue