Update PerformerModal.tsx to fix aliases exclusions (#5566)

This commit is contained in:
bayured 2025-01-30 02:24:45 +00:00 committed by GitHub
parent 726296bb54
commit 44d764d832
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -282,6 +282,10 @@ const PerformerModal: React.FC<IPerformerModalProps> = ({
if (excluded[k] || !performerData[k]) {
performerData[k] = undefined;
}
// #5565 - special case aliases as the names differ
if (k == "alias_list" && excluded.aliases) {
performerData.alias_list = undefined;
}
});
onSave(performerData);