Skip to content

Commit 8cd2d06

Browse files
committed
nit fix app
1 parent 4e7be0d commit 8cd2d06

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frontend/package-lock.json

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

frontend/src/lib/components/apps/editor/appUtilsS3.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ export function computeS3FileViewerPolicy(config: RichConfigurations) {
153153
} else if (
154154
config.source.type === 'static' &&
155155
typeof config.source.value === 'string' &&
156-
((config.sourceKind.type === 'static' &&
157-
config.sourceKind.value === 's3 (workspace storage)') ||
156+
((config.sourceKind?.type === 'static' &&
157+
config.sourceKind?.value === 's3 (workspace storage)') ||
158158
config.source.value.startsWith('s3://'))
159159
) {
160160
return {

0 commit comments

Comments
 (0)