Skip to content

Commit

Permalink
fix: fix preview button on data sources page (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenle authored May 7, 2024
1 parent 7197433 commit 53c3d41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dirty-falcons-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@blinkk/root-cms': patch
---

fix: fix preview button on data sources page
2 changes: 2 additions & 0 deletions packages/root-cms/ui/pages/DataSourcePage/DataSourcePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,11 @@ DataSourcePage.DataSectionWrap = (props: {
)}
{props.dataSource.previewUrl && (
<Button
component="a"
variant="default"
size="xs"
href={props.dataSource.previewUrl}
target="_blank"
>
Preview
</Button>
Expand Down

0 comments on commit 53c3d41

Please sign in to comment.