Skip to content

Commit

Permalink
Rename dataBucketPrefix to dataPath
Browse files Browse the repository at this point in the history
  • Loading branch information
slesaad committed Aug 16, 2023
1 parent a48359a commit a0ecfdc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/scripts/components/datasets/s-overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function DatasetsOverview() {
compact={false}
variation='achromic-outline'
/>
{dataset.data.dataBucketPrefix && (
{dataset.data.dataPath && (
<a
href={getDatasetBrowserPath(dataset.data)}
target='_blank'
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/utils/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ export const getDatasetExplorePath = (d: DatasetData | string) =>
`${DATASETS_PATH}/${typeof d === 'string' ? d : d.id}/explore`;

export const getDatasetBrowserPath = (d: DatasetData | string) =>
`${process.env.DATA_BROWSER_PATH}${typeof d === 'string' ? d : d.dataBucketPrefix}/`;
`${process.env.DATA_BROWSER_PATH}${typeof d === 'string' ? d : d.dataPath}/`;
2 changes: 1 addition & 1 deletion parcel-resolver-veda/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ declare module 'veda' {
name: string;
taxonomy: Taxonomy[];
description: string;
dataBucketPrefix?: string;
dataPath?: string;
usage?: DatasetUsage[];
media?: Media;
layers: DatasetLayer[];
Expand Down

0 comments on commit a0ecfdc

Please sign in to comment.