diff --git a/src/features/access/AccessEditor.tsx b/src/features/access/AccessEditor.tsx
index 26dcbd5..36f1c1c 100644
--- a/src/features/access/AccessEditor.tsx
+++ b/src/features/access/AccessEditor.tsx
@@ -114,7 +114,7 @@ export function AccessEditor({ client, target, onClose }: Props) {
{row.display}
{row.wildcard && everything inside}
-
+ |
|
diff --git a/src/features/graph/Details.tsx b/src/features/graph/Details.tsx
index 381cd5e..a5b09ba 100644
--- a/src/features/graph/Details.tsx
+++ b/src/features/graph/Details.tsx
@@ -1,4 +1,5 @@
import { useMutation, useQueryClient } from '@tanstack/react-query'
+import type { Ref } from 'react'
import type { BaoClient } from '../../api/bao'
import { revokeAccess } from '../../api/grants'
import type { AccessGraph, GraphEdge, GraphNode, PolicyInput } from '../../model/graph'
@@ -14,6 +15,7 @@ interface Props {
policies: PolicyInput[]
selection: Selection | null
onRevoked: () => void
+ ref?: Ref
}
const nodeById = (g: AccessGraph, id: string) => g.nodes.find((n) => n.id === id)
@@ -210,7 +212,7 @@ function EdgeDetails({ client, edge, full, policies, onRevoked }: { client: BaoC
)
}
-export function Details({ client, full, policies, selection, onRevoked }: Props) {
+export function Details({ client, full, policies, selection, onRevoked, ref }: Props) {
let body = Select a node or a line to see what it grants.
if (selection?.kind === 'node') {
const node = nodeById(full, selection.id)
@@ -220,7 +222,7 @@ export function Details({ client, full, policies, selection, onRevoked }: Props)
if (edge) body =
}
return (
- |