Skip to content

Commit 137b23c

Browse files
sir-sigurdgreptile-apps[bot]nl0
authored
catalog: make 'add bucket' buttons route to 'add bucket' page instead of bucket list (#4538)
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Alexei Mochalov <[email protected]>
1 parent 4286c83 commit 137b23c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

catalog/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ where verb is one of
1818

1919
## Changes
2020

21+
- [Changed] Make 'add bucket' buttons on the main page route to 'add bucket' admin page instead of bucket list ([#4538](https://github.com/quiltdata/quilt/pull/4538))
2122
- [Changed] Always provide source buckets for S3FilePicker and use current bucket as default when no sourceBuckets configured ([#4525](https://github.com/quiltdata/quilt/pull/4525))
2223
- [Changed] Enable package creation from current bucket without workflows configuration ([#4522](https://github.com/quiltdata/quilt/pull/4522))
2324
- [Fixed] Athena: preserve query body during execution loading ([#4528](https://github.com/quiltdata/quilt/pull/4528))

catalog/app/website/components/BucketGrid/BucketGrid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export default React.forwardRef(function BucketGrid(
188188
/>
189189
))}
190190
{showAddLink && (
191-
<Link className={classes.add} to={urls.adminBuckets()}>
191+
<Link className={classes.add} to={urls.adminBuckets({ add: true })}>
192192
<M.Icon>add</M.Icon>
193193
</Link>
194194
)}

catalog/app/website/pages/Landing/Buckets/Buckets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export default function Buckets() {
197197
variant="contained"
198198
color="primary"
199199
component={Link}
200-
to={urls.adminBuckets()}
200+
to={urls.adminBuckets({ add: true })}
201201
>
202202
Add Bucket
203203
</M.Button>

0 commit comments

Comments
 (0)