frontend: fixes displayName for dotted dictionary keys

This commit is contained in:
Mose Müller
2024-04-30 09:59:54 +02:00
parent 37d698a1b2
commit 33aa8708fd
8 changed files with 36 additions and 10 deletions

View File

@ -15,7 +15,7 @@ export type State = {
* @returns An array of components that make up the path, including attribute names,
* numeric indices, and string keys as separate elements.
*/
function parseFullAccessPath(path: string): string[] {
export function parseFullAccessPath(path: string): string[] {
// The pattern matches:
// \w+ - Words
// \[\d+\.\d+\] - Floating point numbers inside brackets