|
@@ -39,11 +39,14 @@ export class QdrantPage {
|
|
|
]);
|
|
]);
|
|
|
|
|
|
|
|
if (statsResponse.success && statsResponse.data) {
|
|
if (statsResponse.success && statsResponse.data) {
|
|
|
- this.stats = statsResponse.data;
|
|
|
|
|
|
|
+ // Unwrap nested data envelope if present (Qdrant endpoints use {data: {...}, success: true})
|
|
|
|
|
+ const statsData = statsResponse.data as any;
|
|
|
|
|
+ this.stats = statsData.data || statsData;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (healthResponse.success && healthResponse.data) {
|
|
if (healthResponse.success && healthResponse.data) {
|
|
|
- this.health = healthResponse.data;
|
|
|
|
|
|
|
+ const healthData = healthResponse.data as any;
|
|
|
|
|
+ this.health = healthData.data || healthData;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
this.renderQdrantOverview();
|
|
this.renderQdrantOverview();
|