Commit e3f932b
authored
refactor(use-roadiz-menu): rely on computed url from roadiz skeleton (#610)
The Roadiz skeleton now exposes a server-side computed `url` field via MenuLinkPathNormalizer (linkExternalUrl or internal URL). We can therefore drop the linkExternalUrl fallback and consume item.url directly, which also removes a @ts-expect-error.
Ref: https://github.com/roadiz/skeleton/blob/develop/src/Serializer/Normalizer/MenuLinkPathNormalizer.php1 parent 4989b83 commit e3f932b
1 file changed
Lines changed: 1 addition & 2 deletions
File tree
- app/composables
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
0 commit comments