MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / getAppDisplayName

Function getAppDisplayName

frontend/builder/app-selection-modal.tsx:166–173  ·  view source on GitHub ↗
(appId: string)

Source from the content-addressed store, hash-verified

164 };
165
166 const getAppDisplayName = (appId: string) => {
167 const parts = appId.split("/");
168 if (parts.length === 2) {
169 const isDraft = parts[0] === "draft";
170 return isDraft ? `${parts[1]} (draft)` : parts[1];
171 }
172 return appId;
173 };
174
175 if (loading) {
176 return (

Callers 1

AppSelectionModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected