Skip to content

Commit

Permalink
Merge pull request #1051 from mariatouil/fix/stuck-new-app-loading-983
Browse files Browse the repository at this point in the history
fix: resolve issue #983 - Stuck on Creating new app loading screen
  • Loading branch information
jelveh authored Dec 11, 2024
2 parents 040a6a7 + c75c9d0 commit f800cf2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dev-center/js/dev-center.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ async function create_app(title, source_path = null, items = null) {

})
.then(async (app) => {
$('.new-app-modal').get(0).close();
window.location.reload();
let app_dir;
// ----------------------------------------------------
// Create app directory in AppData
Expand All @@ -313,6 +315,8 @@ async function create_app(title, source_path = null, items = null) {
maximizeOnStart: false,
background: false,
}).then(async (app) => {
$('.new-app-modal').get(0).close();
window.location.reload();
// refresh app list
puter.apps.list().then(async (resp) => {
apps = resp;
Expand Down

0 comments on commit f800cf2

Please sign in to comment.