diff options
Diffstat (limited to 'cloud/app/src/routes')
| -rw-r--r-- | cloud/app/src/routes/workspace/[id].tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cloud/app/src/routes/workspace/[id].tsx b/cloud/app/src/routes/workspace/[id].tsx index 65b2a3887..81013dc92 100644 --- a/cloud/app/src/routes/workspace/[id].tsx +++ b/cloud/app/src/routes/workspace/[id].tsx @@ -167,7 +167,7 @@ const dummyApiKeyData = [ }, ] -export default function() { +export default function () { const actor = createAsync(() => getActor()) onMount(() => { console.log("MOUNTED", actor()) @@ -351,7 +351,7 @@ export default function() { </Show> <div data-slot="api-keys-table"> <Show - when={dummyApiKeyData.length > 0} + when={keys()?.length} fallback={ <div data-slot="empty-state"> <p>Create an opencode Gateway API key</p> @@ -368,7 +368,7 @@ export default function() { </tr> </thead> <tbody> - <For each={dummyApiKeyData}> + <For each={keys()!}> {/* Real data: keys() */} {(key) => ( <tr> |
