This commit is contained in:
Carl-Gerhard Lindesvärd
2026-03-06 14:16:09 +01:00
parent c2d12c556d
commit 058c3621df
6 changed files with 30 additions and 21 deletions

View File

@@ -277,10 +277,7 @@ export class OpenPanel {
const mergedGroups = [...new Set([...this.groups, ...queuedGroups])];
return {
...item.payload,
profileId:
'profileId' in item.payload
? (item.payload.profileId ?? this.profileId)
: this.profileId,
profileId: item.payload.profileId ?? this.profileId,
groups: mergedGroups.length > 0 ? mergedGroups : undefined,
};
}
@@ -291,11 +288,7 @@ export class OpenPanel {
) {
return {
...item.payload,
profileId: String(
'profileId' in item.payload
? (item.payload.profileId ?? this.profileId)
: (this.profileId ?? '')
),
profileId: item.payload.profileId ?? this.profileId,
} as TrackHandlerPayload['payload'];
}
if (item.type === 'group') {