Skip to content

Commit

Permalink
Use both composition and template name for reference key
Browse files Browse the repository at this point in the history
  • Loading branch information
askask committed Aug 19, 2024
1 parent d384175 commit 0c48d86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/shared/models/aqb/aqb-ui.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export class AqbUiModel {
const compositionReferenceKey = clickEvent.compositionId
const archetypeReferenceKey = archetypeId

const compositionReferenceId = this.setReference(compositionReferenceKey)
const compositionReferenceId = this.setReference(
compositionReferenceKey + clickEvent.templateId
)
const archetypeReferenceId = this.setReference(archetypeReferenceKey)

if (!this.usedTemplates.includes(clickEvent.templateId)) {
Expand Down

0 comments on commit 0c48d86

Please sign in to comment.