| 25 | render() { return this.state.failed ? <p className="spatial-unavailable">3D is unavailable. Use the service and connection lists to inspect the same evidence.</p> : this.props.children; } |
| 26 | } |
| 27 | const evidenceLabel = (kind: string) => kind === 'startup' ? 'Startup dependency' : kind === 'configuration' ? 'Configured destination' : 'Call found in source'; |
| 28 | const relativeSource = (absolute: string, selection: ContainerSelection) => { |
| 29 | const prefix = selection.inventory.rootPath.replaceAll('\\', '/').replace(/\/$/, '') + '/'; |
| 30 | return absolute.startsWith(prefix) ? absolute.slice(prefix.length) : undefined; |