Update PanelCreationForm.svelte
This commit is contained in:
parent
6d34a27d53
commit
fe8fa45524
@ -174,7 +174,7 @@
|
|||||||
let selectedMentions = [];
|
let selectedMentions = [];
|
||||||
|
|
||||||
// Replace spaces with dashes in naming scheme as the user types
|
// Replace spaces with dashes in naming scheme as the user types
|
||||||
$: if (data.naming_scheme.includes(' ')) {
|
$: if (data.naming_scheme !== undefined && data.naming_scheme.includes(' ')) {
|
||||||
data.naming_scheme = data.naming_scheme.replaceAll(' ', '-');
|
data.naming_scheme = data.naming_scheme.replaceAll(' ', '-');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user