Skip to content

Commit

Permalink
Merge pull request #53 from openmsupply/#46-support-old-table-type
Browse files Browse the repository at this point in the history
include old table type
  • Loading branch information
mark-prins authored Dec 22, 2020
2 parents e57ab01 + 3dbd448 commit b484b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export const getPanels = async (datasourceID: number): Promise<Panel[]> => {
.filter(({ panels }) => panels?.length > 0)
.map(({ panels, templating, uid }) => {
const mappedPanels = panels
.filter(({ type }) => type === 'table')
.filter(({ type }) => type === 'table' || type === 'table-old')
.map(rawPanel => {
const { targets } = rawPanel;
const [target] = targets;
Expand Down

0 comments on commit b484b26

Please # to comment.