Fix: Bulk channel editor confirmation dialog now shows the correct stream profile that will be set.

This commit is contained in:
SergeantPanda 2025-12-05 09:02:03 -06:00
parent 0d177e44f8
commit c1d960138e
2 changed files with 5 additions and 2 deletions

View file

@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- EPG table "Updated" column now updates in real-time via WebSocket using the actual backend timestamp instead of requiring a page refresh
- Bulk channel editor confirmation dialog now displays the correct stream profile name that will be applied to the selected channels.
## [0.13.0] - 2025-12-02

View file

@ -135,8 +135,10 @@ const ChannelBatchForm = ({ channelIds, isOpen, onClose }) => {
if (values.stream_profile_id === '0') {
changes.push(`• Stream Profile: Use Default`);
} else {
const profileName =
streamProfiles[values.stream_profile_id]?.name || 'Selected Profile';
const profile = streamProfiles.find(
(p) => `${p.id}` === `${values.stream_profile_id}`
);
const profileName = profile?.name || 'Selected Profile';
changes.push(`• Stream Profile: ${profileName}`);
}
}