Skip to content

Commit a7593b6

Browse files
frano-mFran McDade
andauthored
chore: update package to latest (#3640) (#3642)
Co-authored-by: Fran McDade <franmcdade@Frans-MacBook-Pro.local>
1 parent 995aca1 commit a7593b6

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

explorer/app/viewModelBuilders/azul/anvil-cmg/common/viewModelBuilders.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,9 @@ export const buildExportEntityWarning = (
410410
viewContext: ViewContext
411411
): React.ComponentProps<typeof C.FluidAlert> => {
412412
const {
413-
authState: { isAuthorized },
413+
authState: { isAuthenticated },
414414
} = viewContext;
415-
const title = isAuthorized
415+
const title = isAuthenticated
416416
? "To export this dataset, please request access."
417417
: "To export this dataset, please sign in and, if necessary, request access.";
418418
return {
@@ -883,11 +883,11 @@ function isResponseReady(
883883
viewContext: ViewContext
884884
): boolean {
885885
const {
886-
authState: { isAuthorized },
886+
authState: { isAuthenticated },
887887
} = viewContext;
888888
const { responseSource } = datasetsResponse;
889889
const isStatic = responseSource === RESPONSE_SOURCE.STATIC_GENERATION;
890-
return !(isAuthorized && isStatic);
890+
return !(isAuthenticated && isStatic);
891891
}
892892

893893
/**
@@ -933,10 +933,10 @@ export const renderWhenUnAuthorized = (
933933
viewContext: ViewContext
934934
): React.ComponentProps<typeof C.ConditionalComponent> => {
935935
const {
936-
authState: { isAuthorized },
936+
authState: { isAuthenticated },
937937
} = viewContext;
938938
return {
939-
isIn: !isAuthorized,
939+
isIn: !isAuthenticated,
940940
};
941941
};
942942

explorer/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

explorer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"test:anvil-catalog": "playwright test -c playwright_anvil-catalog.config.ts"
3434
},
3535
"dependencies": {
36-
"@clevercanary/data-explorer-ui": "0.39.0",
36+
"@clevercanary/data-explorer-ui": "0.40.0",
3737
"@emotion/react": "11.11.1",
3838
"@emotion/styled": "11.11.0",
3939
"@mdx-js/loader": "^2.3.0",

0 commit comments

Comments
 (0)