Skip to content

Commit 525ee9c

Browse files
- CHG: Pre-select the image/video trait in the media popup for tagging.
1 parent 8678a09 commit 525ee9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/inputs/TraitInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
}
444444
445445
function recordImage (type: string) {
446-
emitter.emit('tag-media', compProps.cell.row || 0, compProps.cell.column || 0, type, [], (filename: string) => {
446+
emitter.emit('tag-media', compProps.cell.row || 0, compProps.cell.column || 0, type, [compProps.trait.id], (filename: string) => {
447447
model.value = filename
448448
})
449449
}

0 commit comments

Comments
 (0)