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