Merge pull request #12739 from assuntad23/bugfix/removing-end-punctuation-from-pair-name/12154

Removing last character of pair name for Paired List Collections if it's a . or _
This commit is contained in:
Dannon
2021-10-21 13:11:19 -04:00
committed by GitHub
@@ -724,6 +724,9 @@ export default {
revName = revName.replace(extension, "");
}
}
if (lcs.endsWith(".") || lcs.endsWith("_")) {
lcs = lcs.substring(0, lcs.length - 1);
}
return lcs || `${fwdName} & ${revName}`;
},
clickAutopair: function () {