Commit 5975983 1 parent 252d135 commit 5975983 Copy full SHA for 5975983
File tree 1 file changed +10
-4
lines changed
src/component-library/pages/Rule/details
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { NullBadge } from '@/component-library/features/badges/NullBadge';
10
10
import { RuleStateBadge } from '@/component-library/features/badges/Rule/RuleStateBadge' ;
11
11
import { RuleGroupingBadge } from '@/component-library/features/badges/Rule/RuleGroupingBadge' ;
12
12
import { RuleNotificationBadge } from '@/component-library/features/badges/Rule/RuleNotificationBadge' ;
13
+ import { ClickableCell } from '@/component-library/features/table/cells/ClickableCell' ;
13
14
14
15
export const DetailsRuleMeta = ( { meta } : { meta : RuleMetaViewModel } ) => {
15
16
const getExpiredField = ( ) => {
@@ -27,10 +28,15 @@ export const DetailsRuleMeta = ({ meta }: { meta: RuleMetaViewModel }) => {
27
28
< RuleStateBadge value = { meta . state } />
28
29
</ KeyValueRow >
29
30
< KeyValueRow name = "DID" >
30
- < Field >
31
- { meta . scope } :{ meta . name }
32
- </ Field >
33
- < DIDTypeBadge value = { meta . did_type } />
31
+ < ClickableCell
32
+ className = "flex flex-row gap-2 overflow-hidden"
33
+ href = { `/did/page/${ encodeURIComponent ( meta . scope ) } /${ encodeURIComponent ( meta . name ) } ` }
34
+ >
35
+ < Field >
36
+ { meta . scope } :{ meta . name }
37
+ </ Field >
38
+ < DIDTypeBadge value = { meta . did_type } />
39
+ </ ClickableCell >
34
40
</ KeyValueRow >
35
41
< KeyValueRow name = "RSE Expression" >
36
42
< Field > { meta . rse_expression } </ Field >
You can’t perform that action at this time.
0 commit comments