@postgres.ai/shared 4.0.1-pr-1059.1 → 4.0.1-pr-1059.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postgres.ai/shared",
3
- "version": "4.0.1-pr-1059.1",
3
+ "version": "4.0.1-pr-1059.2",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "peerDependencies": {
@@ -126,8 +126,8 @@ export const CreateBranchPage = observer(({ instanceId, api, elements, routes, i
126
126
  shrink: true,
127
127
  }, value: formik.values.branchName, error: Boolean(formik.errors.branchName), helperText: formik.errors.branchName, className: classes.marginBottom, onChange: (e) => formik.setFieldValue('branchName', e.target.value) }), _jsx("p", { className: cn(classes.marginTop, classes.marginBottom), children: "Choose an existing branch. The new branch will initially point at the same snapshot as the parent branch but going further, their evolution paths will be independent - new snapshots can be created for both branches." }), _jsx(Select, { fullWidth: true, label: "Parent branch", value: formik.values.baseBranch, disabled: !branchesList || formik.isSubmitting, onChange: handleParentBranchChange, error: Boolean(formik.errors.baseBranch), items: branchesList
128
128
  ? branchesList.map((branch) => {
129
- const displayName = branch.dataset
130
- ? `${branch.name} (${branch.dataset})`
129
+ const displayName = branch.baseDataset
130
+ ? `${branch.name} (${branch.baseDataset})`
131
131
  : branch.name;
132
132
  return {
133
133
  value: branch.name,