Samsung Channel Editor
.form-group margin-bottom: 20px;
getNextChannelNumber() if (this.channels.length === 0) return 1; const numbers = this.channels.map(c => c.number); let nextNumber = 1; while (numbers.includes(nextNumber)) nextNumber++; samsung channel editor
if (this.currentEditId) // Update existing channel const index = this.channels.findIndex(c => c.id === this.currentEditId); if (index !== -1) this.channels[index] = ...this.channels[index], ...channelData ; .form-group margin-bottom: 20px
saveToStorage() localStorage.setItem('samsungChannels', JSON.stringify(this.channels)); const numbers = this.channels.map(c =>
// Source filter const source = this.sourceFilter.value; if (source !== 'all') filtered = filtered.filter(channel => channel.source === source);








