Skip to content

Commit

Permalink
fix hidden minibars cause colspan
Browse files Browse the repository at this point in the history
  • Loading branch information
philipkueng committed Jul 10, 2019
1 parent 17185f7 commit f9a8b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h3 class="s-q-item__title">{{ item.title }}</h3>{% endif %} {%- if item.subtitl
<thead class="s-font-note s-font-note--strong">
{%- for head in tableData[0] %}
<th class="q-table__cell q-table-cell--head q-table__cell--{{ head.type }} {{head.classes.join(" ")}}"
{%- if item.options.minibar.selectedColumn === loop.index0 and item.options.minibar.selectedColumn != null and minibar.type !== "mixed" and not initWithCardLayout %}
{%- if minibar.type !== undefined and item.options.minibar.selectedColumn === loop.index0 and item.options.minibar.selectedColumn != null and minibar.type !== "mixed" and not initWithCardLayout %}
colspan="2" id="q-table-minibar-header"
{% elif minibar.type === "mixed" and item.options.minibar.selectedColumn+1 === loop.index %}
id="q-table-minibar-header"
Expand Down

0 comments on commit f9a8b26

Please sign in to comment.