Skip to content

Commit

Permalink
fix: attempt to prevent second quickstart app
Browse files Browse the repository at this point in the history
  • Loading branch information
bodom0015 committed Apr 5, 2024
1 parent 721d443 commit 65cd03c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/my-apps/MyApps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function MyAppsPage(props: any) {
setRefreshInterval(undefined);
}
}

// If quickstart queryParam provided, start and navigate to the chosen app
if (quickstart) {
console.log('Quick-starting app: ', quickstart);
Expand All @@ -146,7 +146,7 @@ function MyAppsPage(props: any) {
} else if (existing && existing?.status === 'stopped') {
console.log('Existing app found! Starting existing app: ', existing);
startStack(existing);
} else if (!existing) {
} else if (!existing && !quickStartThread) {
const timeout = setTimeout(() => {
// Stack exists for this app, start it up
console.log('Checking all specs to create new app: ', specs);
Expand Down

0 comments on commit 65cd03c

Please sign in to comment.