This repository was archived by the owner on Nov 1, 2024. It is now read-only.
Commit a4e88aa 1 parent ce778d8 commit a4e88aa Copy full SHA for a4e88aa
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,9 +130,9 @@ const ResultList = ({
130
130
link = { `/story/${ it . result . id } ` }
131
131
group = { {
132
132
group : it . result . group ,
133
- teamkatalogenURL : it . result . teamkatalogenURL ,
133
+ teamkatalogenURL : it . result ? .teamkatalogenURL ,
134
134
} }
135
- { ...getTeamKatalogenInfo ( it . result . teamkatalogenURL ) }
135
+ { ...getTeamKatalogenInfo ( it . result ? .teamkatalogenURL ) }
136
136
/>
137
137
)
138
138
)
@@ -151,7 +151,7 @@ const ResultList = ({
151
151
description = { d . result . description }
152
152
link = { `/dataproduct/${ d . result . id } /${ d . result . slug } ` }
153
153
datasets = { d . result . datasets }
154
- { ...getTeamKatalogenInfo ( d . result . group . teamkatalogenURL ) }
154
+ { ...getTeamKatalogenInfo ( d . result . owner ? .teamkatalogenURL ) }
155
155
/>
156
156
)
157
157
) }
@@ -171,7 +171,7 @@ const ResultList = ({
171
171
name = { d . name }
172
172
keywords = { d . keywords }
173
173
link = { `/dataproduct/${ d . id } /${ d . slug } ` }
174
- { ...getTeamKatalogenInfo ( d . owner . teamkatalogenURL ) }
174
+ { ...getTeamKatalogenInfo ( d . owner ? .teamkatalogenURL ) }
175
175
/>
176
176
) ) }
177
177
</ Results >
You can’t perform that action at this time.
0 commit comments