We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19d84a2 commit c88237aCopy full SHA for c88237a
site/src/components/TemplateVersionEditor/FileDialog.tsx
@@ -26,10 +26,9 @@ export const CreateFileDialog: FC<{
26
return
27
}
28
if (!isAllowedFile(pathValue)) {
29
+ const extensions = allowedExtensions.join(", ")
30
setError(
- `This is not an allowed extension. Valid extensions are: ${allowedExtensions.join(
31
- ", ",
32
- )}.`,
+ `This extension is not allowed. You only can create files with the following extensions: ${extensions}.`,
33
)
34
35
0 commit comments