audiobookshelf/client
CutSnake 54491ee903 Fix applying chapters not fully replacing existing chapter list
When applying chapters from Audible lookup, if the new chapter list had
fewer chapters than the existing one, the old extra chapters were being
retained. For example, going from 61 to 36 chapters would result in a
hybrid list with 36 updated chapters plus 25 leftover old ones.

The bug was in the applyChapterData() function which incorrectly fell
back to old chapters when the audible chapter array was exhausted. This
fallback should only happen for explicitly locked chapters, not for all
remaining old chapters.

Fixes #4939
2026-01-26 12:47:54 +11:00
..
assets Add base style for button for cursor:pointer, update default btn bg and confirm yes btn color 2025-03-25 17:47:11 -05:00
components Merge pull request #4649 from votex001/multi-select-item-fix 2025-12-21 14:58:04 -06:00
cypress Fix LazySeriesCard component test 2025-07-07 16:49:20 -05:00
layouts Remove providers prefetch, refresh on custom provider add/remove 2025-10-19 11:47:17 +03:00
middleware Add:Series filters #712 2022-10-29 15:33:38 -05:00
mixins Fix item edit modal show next/prev arrows when opening from Files or Match context menu item #4718 2025-10-08 14:52:14 -05:00
pages Fix applying chapters not fully replacing existing chapter list 2026-01-26 12:47:54 +11:00
players Update HLS stream endpoints to not include user token 2025-05-06 17:28:19 -05:00
plugins Add Korean language option 2025-11-29 16:32:57 -06:00
static Update material symbols icon font 2024-08-16 16:57:17 -05:00
store Remove custom providers from library fetch action 2025-10-19 11:40:40 +03:00
strings Translated using Weblate (Polish) 2025-12-23 23:44:39 +01:00
cypress.config.js Move test files to a separate directory 2024-04-30 11:30:00 +03:00
nuxt.config.js Implement new JWT auth 2025-06-29 17:22:58 -05:00
package-lock.json Version bump v2.32.1 2025-12-23 16:51:54 -06:00
package.json Version bump v2.32.1 2025-12-23 16:51:54 -06:00
postcss.config.js Use separate postcss.config and remove from nuxt.config, uninstall autoprefixer 2025-03-21 09:25:29 -05:00