mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 01:16:15 -08:00
Add an isElectron flag to PlaylistItemComponent and conditionally render the refresh button only when running inside Electron. This prevents exposing the server refresh action in non-Electron (environments like the browser) where window.electron is unavailable and the feature is not supported. Update ensures safer behavior by checking !!window.electron in the component and using that value in the template to guard the UI.