Shortened applictions for apps in code

This commit is contained in:
2026-01-03 19:51:39 +01:00
parent b39f32d006
commit 1a1dc90c01
7 changed files with 32 additions and 35 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ export default function DeployAppDialog({
children: ReactNode;
}) {
const { value: nodes } = useAsync([], getLiveNodes);
const { value: applications } = useAsync<Application[]>([], async () => []);
const { value: apps } = useAsync<Application[]>([], async () => []);
const [name, setName] = useState("");
const [app, setApp] = useState(defaultApp || "");
const [node, setNode] = useState("");
@@ -66,7 +66,7 @@ export default function DeployAppDialog({
<Combobox
value={app}
setValue={setApp}
data={applications.map((app) => ({
data={apps.map((app) => ({
label: app.name,
value: app.id,
}))}