1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 10:50:24 +00:00

feat(metadata-views): support add folder (#7175)

This commit is contained in:
Jerry Ren
2024-12-16 22:42:39 +08:00
committed by GitHub
parent c9c60b7a62
commit ae0d94e618
37 changed files with 2282 additions and 1213 deletions

View File

@@ -1,6 +1,6 @@
import { gettext } from '../../../utils/constants';
export const isValidViewName = (name, names) => {
export const validateName = (name, names) => {
if (typeof name !== 'string') {
return { isValid: false, message: gettext('Name should be string') };
}