mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
feat(coderd): add sftp to insights apps (#12675)
This commit is contained in:
committed by
GitHub
parent
6cb1fc8956
commit
ba1eaceda4
@ -474,6 +474,14 @@ func convertTemplateInsightsApps(usage database.GetTemplateInsightsRow, appUsage
|
||||
Icon: "/icon/terminal.svg",
|
||||
Seconds: usage.UsageSshSeconds,
|
||||
},
|
||||
{
|
||||
TemplateIDs: usage.SftpTemplateIds,
|
||||
Type: codersdk.TemplateAppsTypeBuiltin,
|
||||
DisplayName: codersdk.TemplateBuiltinAppDisplayNameSFTP,
|
||||
Slug: "sftp",
|
||||
Icon: "/icon/terminal.svg",
|
||||
Seconds: usage.UsageSftpSeconds,
|
||||
},
|
||||
}
|
||||
|
||||
// Use a stable sort, similarly to how we would sort in the query, note that
|
||||
|
Reference in New Issue
Block a user