mirror of
https://github.com/games-on-whales/wolfmanager.git
synced 2026-10-15 21:12:13 +00:00
[PR #47] [MERGED] Fix client settings loading from Wolf API when editing paired clients #57
Labels
No labels
a11y
bug
enhancement
enhancement
good first issue
pull-request
question
refactor
security
shadcn
tech-debt
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolfmanager#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/wolfmanager/pull/47
Author: @salty2011
Created: 7/11/2025
Status: ✅ Merged
Merged: 7/11/2025
Merged by: @salty2011
Base:
release/202506.004← Head:fix/client-settings-issues📝 Commits (1)
1c6d42afix: Enhance client settings loading with Wolf API integration📊 Changes
1 file changed (+88 additions, -16 deletions)
View changed files
📝
src/app/clients/actions/synchronization.ts(+88 -16)📄 Description
Problem
When editing paired client settings, the dialog was showing default values (e.g., "auto" instead of "XBOX") because the
getPairedClientsWithSettingsAction()function only queried the local database, which doesn't store client settings.Solution
Enhanced the
getPairedClientsWithSettingsAction()function to:/clientsendpointwolfClientIdChanges
src/app/clients/actions/synchronization.tsResult
Client edit dialog now properly loads and displays current settings from Wolf API instead of defaulting to empty values.
Fixes issue where controller settings would show as "auto" instead of the actual configured value like "XBOX".
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.