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:
@@ -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') };
|
||||
}
|
||||
|
Reference in New Issue
Block a user