2
0

(editor) Allow empty group titles

This commit is contained in:
Baptiste Arnaud
2023-03-13 09:29:56 +01:00
parent 186328132f
commit f9aef907e3
11 changed files with 42 additions and 21 deletions

View File

@ -305,3 +305,6 @@ export const getAtPath = <T>(obj: T, path: string): unknown => {
}
return current
}
export const parseGroupTitle = (title: string) =>
isEmpty(title) ? 'Untitled' : title