mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Bugfix: Tagger Ignoing Disambiguation When Linking Performer (#6308)
This commit is contained in:
parent
ca357b9eb3
commit
d14053b570
1 changed files with 6 additions and 1 deletions
|
|
@ -593,7 +593,12 @@ export const TaggerContext: React.FC = ({ children }) => {
|
|||
return {
|
||||
...r,
|
||||
performers: r.performers.map((p) => {
|
||||
if (p.name === performer.name) {
|
||||
// Match by remote_site_id if available, otherwise fall back to name
|
||||
const matches = performer.remote_site_id
|
||||
? p.remote_site_id === performer.remote_site_id
|
||||
: p.name === performer.name;
|
||||
|
||||
if (matches) {
|
||||
return {
|
||||
...p,
|
||||
stored_id: performerID,
|
||||
|
|
|
|||
Loading…
Reference in a new issue