feat: add port sharing frontend (#12119)

This commit is contained in:
Garrett Delfosse
2024-02-20 13:26:34 -05:00
committed by GitHub
parent 0021c2f906
commit b342bd7869
14 changed files with 670 additions and 92 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ func (api *API) deleteWorkspaceAgentPortShare(rw http.ResponseWriter, r *http.Re
}
func convertPortShares(shares []database.WorkspaceAgentPortShare) []codersdk.WorkspaceAgentPortShare {
var converted []codersdk.WorkspaceAgentPortShare
converted := []codersdk.WorkspaceAgentPortShare{}
for _, share := range shares {
converted = append(converted, convertPortShare(share))
}