mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 12:06:16 -08:00
fix: wrap isElectron in computed for proper reactivity
Changed from direct signal assignment to computed() wrapper to ensure consistent reactive pattern and clearer intent. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e1f04c598c
commit
45213d8d1a
1 file changed
+1
-1
@@ -87,7 +87,7 @@ export class VodDetailsComponent implements OnDestroy {
|
||||
// ============ Computed State ============
|
||||
|
||||
/** Whether running in Electron (downloads available) */
|
||||
readonly isElectron = this.downloadsService.isAvailable;
|
||||
readonly isElectron = computed(() => this.downloadsService.isAvailable());
|
||||
|
||||
/** Normalized metadata for display */
|
||||
readonly normalizedMeta = computed(() => {
|
||||
|
||||
Reference in new issue
Block a user