We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 285fcb7 commit ae03a77Copy full SHA for ae03a77
client/src/components/ContentNavigator/index.ts
@@ -227,7 +227,9 @@ class ContentNavigator implements SubscriptionProvider {
227
? Messages.RenameFolderTitle
228
: Messages.RenameFileTitle,
229
value: resource.name,
230
- validateInput: isContainer ? folderValidator : fileValidator,
+ validateInput: isContainer
231
+ ? (value) => folderValidator(value, this.sourceType)
232
+ : fileValidator,
233
});
234
if (!name || name === resource.name) {
235
return;
0 commit comments