Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/ServerInfoPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function ServerInfoPanel() {
}

// Extract first SOVD info entry for cleaner access
const sovdInfo = versionInfo?.sovd_info?.[0];
const sovdInfo = versionInfo?.items?.[0];

return (
<div className="space-y-6">
Expand Down
2 changes: 1 addition & 1 deletion src/lib/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ export const useAppStore = create<AppState>()(
});

// Extract server info from version-info response (fallback to generic values if unavailable)
const sovdInfo = versionInfo?.sovd_info?.[0];
const sovdInfo = versionInfo?.items?.[0];
const serverName = sovdInfo?.vendor_info?.name || 'SOVD Server';
const serverVersion = sovdInfo?.vendor_info?.version || '';
const sovdVersion = sovdInfo?.version || '';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ export interface SovdInfoEntry {
*/
export interface VersionInfo {
/** Array of SOVD version info entries */
sovd_info: SovdInfoEntry[];
items: SovdInfoEntry[];
}

// =============================================================================
Expand Down
Loading