File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -72,16 +72,13 @@ export class BaseCommentItem extends LitElement {
72
72
`
73
73
) }
74
74
75
-
76
- ${
77
- this . private && this . configMapData ?. basic . showPrivateCommentBadge
78
- ? html `
79
- <div class= "inline-flex items-center gap-1 bg-muted-3 rounded-base px-1.5 py-1" >
75
+ ${ when (
76
+ this . private && this . configMapData ?. basic . showPrivateCommentBadge ,
77
+ ( ) => html `<div class= "inline-flex items-center gap-1 bg-muted-3 rounded-base px-1.5 py-1" >
80
78
<i class= "i-ri-git-repository-private-line opacity-90 size-3" aria-hidden = "true"> </ i>
81
79
<span class= "text-xs text-text-2" > ${ msg ( 'Private' ) } </ span>
82
80
</ div> `
83
- : ''
84
- }
81
+ ) }
85
82
86
83
${ when ( this . ua && this . configMapData ?. basic . showCommenterDevice , ( ) => html `<commenter- ua- bar .ua = ${ this . ua } > </ commenter- ua- bar> ` ) }
87
84
You can’t perform that action at this time.
0 commit comments