mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
Bugfix: Tagger Ignoing Disambiguation When Linking Performer (#6308)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user