File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
src/components/ApplicationGroup/Details/EnvironmentOverview Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -323,15 +323,18 @@ export default function EnvironmentOverview({
323
323
</ div >
324
324
< div >
325
325
< div className = "fs-13 fw-4 lh-20 cn-7 mb-4" > Created by</ div >
326
- < div className = "fs-13 fw-6 lh-20 cn-9 dc__word-break flexbox flex-align-center dc__gap-8" >
327
- < div
328
- className = "icon-dim-20 mw-20 flexbox flex-justify-center flex-align-center dc__border-radius-50-per dc__uppercase cn-0 fw-4"
329
- style = { { backgroundColor : getRandomColor ( appGroupListData . createdBy ) } }
330
- >
331
- { appGroupListData . createdBy [ 0 ] }
332
- </ div >
333
- { appGroupListData . createdBy }
334
- </ div >
326
+ { appGroupListData . createdBy
327
+ ? (
328
+ < div className = "fs-13 fw-6 lh-20 cn-9 dc__word-break flexbox flex-align-center dc__gap-8" >
329
+ < div
330
+ className = "icon-dim-20 mw-20 flexbox flex-justify-center flex-align-center dc__border-radius-50-per dc__uppercase cn-0 fw-4"
331
+ style = { { backgroundColor : getRandomColor ( appGroupListData . createdBy ) } }
332
+ >
333
+ { appGroupListData . createdBy [ 0 ] }
334
+ </ div >
335
+ { appGroupListData . createdBy }
336
+ </ div >
337
+ ) : '-' }
335
338
</ div >
336
339
</ div >
337
340
</ aside >
You can’t perform that action at this time.
0 commit comments