We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 296d076 commit 1c263c2Copy full SHA for 1c263c2
src/components/Extensibility/helpers/getExtensibilityPath.ts
@@ -1,7 +1,9 @@
1
import pluralize from 'pluralize';
2
3
export const getExtensibilityPath = ({
4
+ urlPath,
5
resource: { kind },
6
}: {
7
+ urlPath?: string | undefined;
8
resource: { kind: string };
-}) => pluralize((kind ?? '').toLowerCase());
9
+}) => urlPath ?? pluralize((kind ?? '').toLowerCase());
0 commit comments