1
0

Test pass: test_index_table_header_close_exposure

Allow closing last quantity column
This commit is contained in:
cryptogopher
2021-01-21 11:17:51 +01:00
parent a29eba9861
commit 80b10d108a
4 changed files with 19 additions and 5 deletions

View File

@@ -59,7 +59,8 @@ module BodyTrackersHelper
# * int > 0 - quantity name-labelled cell with 'int' size colspan
# * int < 0 - quantity name-labelled cell with 'int' size rowspan
# * 0 - non-labelled cell without col-/rowspan
spec = []
spec = [Hash.new(0)]
return spec if quantities.empty?
default_row = Hash.new(0)
# Determine colspans first...