Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/#448' into allfunctionality
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskovar-m2ms committed Nov 6, 2020
2 parents 42c7743 + e59a73b commit 32c0d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/preview/molecule/moleculeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ const MoleculeView = memo(
moveSelectedMolSettings(previousItemData);
};

let moleculeTitle = data?.protein_code.replace(`${target_on_name}-`, '');
let moleculeTitle = data?.protein_code.replace(new RegExp(`${target_on_name}-`, 'i'), '');

return (
<>
Expand Down

0 comments on commit 32c0d52

Please sign in to comment.