mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +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 {
|
return {
|
||||||
...r,
|
...r,
|
||||||
performers: r.performers.map((p) => {
|
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 {
|
return {
|
||||||
...p,
|
...p,
|
||||||
stored_id: performerID,
|
stored_id: performerID,
|
||||||
|
|||||||
Reference in New Issue
Block a user