Skip to content

Commit 54b465a

Browse files
Performance + fix pages not loading after login without refresh
1 parent 6c55e3e commit 54b465a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/static/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ function databasesPage() {
424424
return {db,user,owners};
425425
});
426426
},
427-
async init(){ await this.load(); },
427+
async init(){ await this.load(); document.addEventListener("vortex-logged-in", () => { this.init(); }); },
428428
async load(){
429429
const r=await get('/api/databases?engine='+this.activeEngine);
430430
if(r.ok){

0 commit comments

Comments
 (0)