Merge pull request #1051 from mariatouil/fix/stuck-new-app-loading-983

fix: resolve issue #983 - Stuck on Creating new app loading screen
This commit is contained in:
Nariman Jelveh
2024-12-11 09:44:27 -08:00
committed by GitHub

View File

@@ -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
@@ -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;