Merge pull request #1053 from HeyPuter/revert-1051-fix/stuck-new-app-loading-983

Revert "fix: resolve issue #983 - Stuck on Creating new app loading s…
This commit is contained in:
Nariman Jelveh 2024-12-11 09:45:04 -08:00 committed by GitHub
commit fb0a091506
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -288,8 +288,6 @@ 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
@ -315,8 +313,6 @@ 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;