Skip to content

Commit b8e4f4d

Browse files
committed
fix(compositions): Composition metadata fetch should not fail on missing layman endpoint
1 parent 93eeb85 commit b8e4f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/hslayers/services/compositions/compositions-parser.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class HsCompositionsParserService {
112112
this.current_composition_url.replace('/file', ''),
113113
{
114114
withCredentials:
115-
this.hsCommonLaymanService.layman.user && fromLayman,
115+
this.hsCommonLaymanService.layman?.user && fromLayman,
116116
},
117117
)
118118
.pipe(

0 commit comments

Comments
 (0)