MCPcopy Index your code
hub / github.com/coder/coder / linkToTemplate

Function linkToTemplate

site/src/modules/navigation.ts:29–33  ·  view source on GitHub ↗
(organizationName: string, templateName: string)

Source from the content-addressed store, hash-verified

27
28export const linkToTemplate =
29 (organizationName: string, templateName: string): LinkThunk =>
30 (dashboard) =>
31 dashboard.showOrganizations
32 ? `/templates/${organizationName}/${templateName}`
33 : `/templates/${templateName}`;

Callers 15

TemplateFilesFunction · 0.90
useWorkspaceDuplicationFunction · 0.90
WorkspaceTopbarFunction · 0.90
WorkspaceFunction · 0.90
TemplateVersionEditorFunction · 0.90
navigateToVersionFunction · 0.90
TemplateVersionPageViewFunction · 0.90
TemplateVersionPageFunction · 0.90
CreateTemplatePageFunction · 0.90
WorkspacesEmptyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected