Skip to content

Commit b3e6267

Browse files
authored
bugfix (#39)
1 parent 1456180 commit b3e6267

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/sharelink/generateLinkFromQuery.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ export function generateLinkFromQuery(hostname: string, items: SharelinkItems, t
241241
if (items.calculatedChannels) {
242242
items.calculatedChannels.forEach((calcChannel, index) => {
243243
const channelKeyIndex = channelKeys.length + index;
244-
const channelKeyName = `channel-key=${channelKeyIndex}`;
244+
const channelKeyName = `channel-key-${channelKeyIndex+1}`;
245+
channelKeys.push(channelKeyName)
245246

246247
const channelReferences: Record<string, string> = {};
247248
calcChannel.sourceChannels.forEach((el, index) => {

0 commit comments

Comments
 (0)