diff --git a/src/components/Dialog/ImportDialog.tsx b/src/components/Dialog/ImportDialog.tsx
index b9ab2b84..da55971b 100644
--- a/src/components/Dialog/ImportDialog.tsx
+++ b/src/components/Dialog/ImportDialog.tsx
@@ -121,14 +121,14 @@ export const ImportDialog = ({
{channelSet?.settings.map((channel, index) => (
- <>
+
- >
+
))}
diff --git a/src/components/Dialog/QRDialog.tsx b/src/components/Dialog/QRDialog.tsx
index 45843268..8309795f 100644
--- a/src/components/Dialog/QRDialog.tsx
+++ b/src/components/Dialog/QRDialog.tsx
@@ -31,12 +31,11 @@ export const QRDialog = ({
const [selectedChannels, setSelectedChannels] = useState([0]);
const [QRCodeURL, setQRCodeURL] = useState("");
- const filteredChannels = Array.from(channels.values()).filter((channel) =>
- selectedChannels.includes(channel.index)
- );
+ const allChannels = Array.from(channels.values());
useEffect(() => {
- const channelsToEncode = filteredChannels
+ const channelsToEncode = allChannels
+ .filter((ch) => selectedChannels.includes(ch.index))
.map((channel) => channel.settings)
.filter((ch): ch is Protobuf.ChannelSettings => !!ch);
const encoded = new Protobuf.ChannelSet(
@@ -64,9 +63,9 @@ export const QRDialog = ({
-
- {filteredChannels.map((channel) => (
-
+
+ {allChannels.map((channel) => (
+