mirror of
https://github.com/directus/directus.git
synced 2026-02-11 17:34:56 -05:00
Merge pull request #762 from directus/fix-750
Replace `replaceAll` with `replace`
This commit is contained in:
@@ -131,7 +131,7 @@ export default defineComponent({
|
||||
|
||||
if (props.capitalization === 'auto-format') val = formatTitle(val, new RegExp(whitespace));
|
||||
|
||||
val = val.replaceAll(/ +/g, whitespace);
|
||||
val = val.replace(/ +/g, whitespace);
|
||||
|
||||
return val;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user