Skip to content

Commit

Permalink
Fix adding new tables (#39)
Browse files Browse the repository at this point in the history
* Fix adding new tables

* Update CHANGELOG.md
  • Loading branch information
mikhail-vl authored Sep 6, 2024
1 parent f9bea30 commit 0eb23fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
- Added table Footer (#36)
- Updated to Grafana 11.2.0 (#37)

### Bugfixes

- Fixed adding new tables (#39)

## 1.1.0 (2024-08-22)

### Features / Enhancements
Expand Down
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const plugin = new PanelPlugin<PanelOptions>(TablePanel)
path: 'tabsSorting',
name: 'Tabs Sorting',
description: 'Show selected tab at the first',
showIf: (config) => config.tables.length > 1,
showIf: (config) => config.tables?.length > 1,
});

return builder;
Expand Down

0 comments on commit 0eb23fa

Please sign in to comment.