(pluginId: string, path: string)
| 79 | }; |
| 80 | |
| 81 | const pluginPageNavPath = (pluginId: string, path: string): string => { |
| 82 | const normalized = normalizePluginPagePath(path); |
| 83 | return normalized === "/" ? `/plugins/${pluginId}/` : `/plugins/${pluginId}${normalized}`; |
| 84 | }; |
| 85 | |
| 86 | /** The pathname with the active org-slug prefix stripped, for active-state |
| 87 | * comparisons against scope-relative paths. */ |
no test coverage detected