mirror of
https://github.com/HeyPuter/puter.git
synced 2026-02-25 03:19:28 -06:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user