Skip to content

Commit e35c491

Browse files
committed
add support for columns without buttons
closes #851
1 parent b738b0d commit e35c491

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
- fix a crash when manipulating TINYINTs from microsoft sql server
2020
- update sqlparser to 0.55: https://github.com/apache/datafusion-sqlparser-rs/blob/main/changelog/0.55.0.md
2121
- fix a diplay issue when using intra-page anchor links inside tables with fixed headers
22+
- Columns without buttons
23+
- In the columns component, when no button text is specified, no button is displayed (instead of an empty button)
2224

2325
## 0.33.1 (2025-02-25)
2426

sqlpage/templates/columns.handlebars

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@
3131
{{/each}}
3232
</ul>
3333
</div>
34+
{{#if button_text}}
3435
<div class="text-center">
3536
<a href="{{link}}" {{#if target}}target="{{target}}"{{/if}} class="btn w-100 {{#if button_color}}btn-{{button_color}}{{/if}}">{{button_text}}</a>
3637
</div>
38+
{{/if}}
3739
</div>
3840
</div>
3941
</div>

0 commit comments

Comments
 (0)