mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 16:22:59 +10:00
fix(client): fix issue with react-query cache
This commit is contained in:
@ -43,7 +43,7 @@ type Separator = ', ' | ' / ' | ' | ';
|
||||
|
||||
export const parseListItemPath = (item: ListItem, path: string | string[], separator: Separator = ', '): string => {
|
||||
if (isArray(path)) {
|
||||
const value = path.map((_path) => get(item, _path));
|
||||
const value = path.map((_path) => get(item, _path)).filter((x) => x);
|
||||
|
||||
return value.join(separator);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user