diff options
Diffstat (limited to 'apps/files/src/newMenu/newFromTemplate.ts')
-rw-r--r-- | apps/files/src/newMenu/newFromTemplate.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/newMenu/newFromTemplate.ts b/apps/files/src/newMenu/newFromTemplate.ts index 10ff5d630fe..3bb9d3b505e 100644 --- a/apps/files/src/newMenu/newFromTemplate.ts +++ b/apps/files/src/newMenu/newFromTemplate.ts @@ -88,7 +88,7 @@ export function registerTemplateEntries() { if (name !== null) { // Create the file const picker = await templatePicker - picker.open(name, provider) + picker.open(name.trim(), provider) } }, } as Entry) |