working with db, docker working, small error with personal data

This commit is contained in:
metacryst
2026-03-10 19:09:47 -05:00
parent 4d2c515b7d
commit 7cfcc01c99
25 changed files with 337 additions and 469 deletions

View File

@@ -20,7 +20,7 @@ let Global = class {
window.dispatchEvent(event)
}
async fetchAppData() {
async fetchOrgData() {
let personalSpace = this.currentNetwork === this.profile
let appData = await fetch(`/api/${personalSpace ? "my" : "org"}data/` + this.currentNetwork.id, {method: "GET"})
let json = await appData.json()
@@ -84,7 +84,7 @@ let Global = class {
}
if(!this.currentNetwork.data) {
this.currentNetwork.data = await this.fetchAppData()
this.currentNetwork.data = await this.fetchOrgData()
}
if(appChanged && !networkChanged) {