Skip to content

Commit

Permalink
ARTESCA-12290: Fix the issue that cannot create bucket for XDM
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengYanJin committed May 6, 2024
1 parent afa4045 commit 427f17a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/react/databrowser/buckets/BucketCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ function BucketCreate() {
}) => {
clearServerError();
let lName = locationName;

const location = accountsLocationsAndEndpoints?.locations.find(
(location) => location.name === locationName,
);
if (
isAsyncNotification &&
//@ts-expect-error fix this when you are working on it
locations &&
//@ts-expect-error fix this when you are working on it
isIngestLocation(locations[locationName], capabilities)
location &&
isIngestLocation(location, capabilities)
) {
lName = `${locationName}:ingest`;
}
Expand Down

0 comments on commit 427f17a

Please sign in to comment.