Skip to content

Commit

Permalink
fix: resolve issue HeyPuter#983 - Stuck on Creating new app loading s…
Browse files Browse the repository at this point in the history
…creen
  • Loading branch information
mariatouil committed Dec 11, 2024
1 parent badc654 commit c75c9d0
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 c75c9d0

Please sign in to comment.