KI-AGENT: Aktiviere importierten Mandanten für Zieladmin
This commit is contained in:
@@ -152,6 +152,8 @@ const importTenantExport = async (event: Event) => {
|
||||
}
|
||||
|
||||
await fetchTenant()
|
||||
await auth.fetchMe()
|
||||
await auth.switchTenant(String(result.tenantId))
|
||||
|
||||
toast.add({
|
||||
title: "Mandantenimport abgeschlossen",
|
||||
|
||||
@@ -108,6 +108,7 @@ const importTenantExport = async (event: Event) => {
|
||||
const rowCount = (result.tables || []).reduce((sum, table) => sum + table.rows, 0)
|
||||
|
||||
await fetchTenants()
|
||||
await auth.fetchMe()
|
||||
|
||||
toast.add({
|
||||
title: "Mandantenimport abgeschlossen",
|
||||
@@ -116,6 +117,7 @@ const importTenantExport = async (event: Event) => {
|
||||
})
|
||||
|
||||
if (result.tenantId) {
|
||||
await auth.switchTenant(String(result.tenantId))
|
||||
await router.push(`/administration/tenants/${result.tenantId}`)
|
||||
}
|
||||
} catch (err: any) {
|
||||
|
||||
Reference in New Issue
Block a user