mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-01 20:42:50 +08:00
The checkbox @change was wired to saveIdleTimeout, which POSTed BOTH idleTimeoutMinutes and autoPauseOnEmpty: toggling silently committed an unsaved idle edit, and an empty/ non-numeric idle field made the combined POST 400 (errors swallowed), leaving the checkbox flipped but not persisted. Give the toggle its own saveAutoPause() sending only the boolean; 保存 now sends only idleTimeoutMinutes.