feat(Mode): Ability to overwrite mode configuration and small improvements (#3580)
This commit is contained in:
1 parent
58d38495f0
commit
0493a0d587
9 files changed
+77
-11
No files matched your search
@@ -6,7 +6,10 @@ export default function formatPN(name) {
|
||||
return;
|
||||
}
|
||||
|
||||
const nameToUse = name.Alphabetic ?? name;
|
||||
let nameToUse = name.Alphabetic ?? name;
|
||||
if (typeof nameToUse === 'object') {
|
||||
nameToUse = '';
|
||||
}
|
||||
|
||||
// Convert the first ^ to a ', '. String.replace() only affects
|
||||
// the first appearance of the character.
|
||||
|
||||
Reference in new issue
Block a user