mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: support navigator and trash page
* refactor: navigator * feat: support trash
This commit is contained in:
@ -44,7 +44,8 @@ function flattenJSON(obj, prefix = '') {
|
||||
const nestedKeys = flattenJSON(obj[key], `${prefix}${key}.`);
|
||||
result = { ...result, ...nestedKeys };
|
||||
} else {
|
||||
result[`${prefix}${key}`] = obj[key];
|
||||
|
||||
result[`${prefix}${key}`] = obj[key].replaceAll('{', '{{').replaceAll('}', '}}');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user