mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-06 12:20:56 +01:00
Fix rename of namespace with UTF-8 (#1611)
This commit is contained in:
3
gradle/changelog/rename_namespace.yaml
Normal file
3
gradle/changelog/rename_namespace.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
- type: fixed
|
||||
description: Validation for namespaces on rename with UTF-8 characters ([#1611](https://github.com/scm-manager/scm-manager/pull/1611))
|
||||
|
||||
@@ -72,7 +72,7 @@ const RenameRepository: FC<Props> = ({ repository, indexLinks }) => {
|
||||
(repository.name !== name || repository.namespace !== namespace);
|
||||
|
||||
const handleNamespaceChange = (namespace: string) => {
|
||||
setNamespaceValidationError(!validator.isNameValid(namespace));
|
||||
setNamespaceValidationError(!validator.isNamespaceValid(namespace));
|
||||
setNamespace(namespace);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user