@@ -127,7 +127,7 @@ export default {
this.errorTitle = null;
this.errorSubtitle = null;
this.loraConfig = null;
- this.channels = [];
+ this.channels = null;
this.channelsLoaded = 0;
// get channels from node
@@ -146,12 +146,6 @@ export default {
this.loadingStatus = `Fetching Channel ${channelIndex + 1} / ${channelsToLoad}`;
const channel = await NodeAPI.remoteAdminGetChannel(this.nodeId, channelIndex + 1);
- // if we find a disabled channel, don't add it to the list. we can also stop loading more channels
- // as the device always returns disabled channels after active channels
- if(channel.role === Protobuf.Channel.Channel_Role.DISABLED){
- break;
- }
-
// add to channels list
channels.push(channel);
this.channelsLoaded = channels.length;