Skip to content

Commit 5e226ae

Browse files
authored
Merge pull request #20 from OpenSourceAGI/claude/fix-cccp-manager-creation-JB4yz
2 parents f7a455f + 58e6aed commit 5e226ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/Cloud-Computer-Control-Panel/app/dashboard/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function DashboardPage() {
3838

3939
useEffect(() => {
4040
const loadManagers = () => {
41-
const stored = localStorage.getItem("awsManagers")
41+
const stored = localStorage.getItem("ec2Managers")
4242
if (stored) {
4343
try {
4444
setManagers(JSON.parse(stored))

apps/Cloud-Computer-Control-Panel/components/instance/create-manager.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ export function CreateManager({ credentials, onSuccess }: { credentials: any; on
9090
costEstimate: calculateCost(),
9191
}
9292

93-
const existing = localStorage.getItem("awsManagers")
93+
const existing = localStorage.getItem("ec2Managers")
9494
const managers = existing ? JSON.parse(existing) : []
9595
managers.push(newManager)
96-
localStorage.setItem("awsManagers", JSON.stringify(managers))
96+
localStorage.setItem("ec2Managers", JSON.stringify(managers))
9797

9898
toast({
9999
title: "Manager Created",

0 commit comments

Comments
 (0)