A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fix settings users initialization before groups
shamoon54099d84416b
diff --git a/src-ui/src/app/components/manage/settings/settings.component.ts b/src-ui/src/app/components/manage/settings/settings.component.tsindex 520cd9520..daf4a6665 100644--- a/src-ui/src/app/components/manage/settings/settings.component.ts+++ b/src-ui/src/app/components/manage/settings/settings.component.ts@@ -346,6 +346,7 @@ export class SettingsComponent.subscribe({next: (r) => {this.users = r.results+ this.initialize(false)},error: (e) => {this.toastService.showError($localize`Error retrieving users`, e)@@ -382,9 +383,8 @@ export class SettingsComponent}}- if (this.users && this.groups) {+ if (this.users) {this.emptyGroup(this.usersGroup)- this.emptyGroup(this.groupsGroup)for (let user of this.users) {storeData.usersGroup[user.id.toString()] = {@@ -411,7 +411,9 @@ export class SettingsComponent}))}-+ }+ if (this.groups) {+ this.emptyGroup(this.groupsGroup)for (let group of this.groups) {storeData.groupsGroup[group.id.toString()] = {id: group.id,