@buerokratt-ria/menu 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All changes to this project will be documented in this file.
4
4
 
5
+ ## [0.1.6] - 25-04-2024
6
+
7
+ - Updated api call addresses
8
+
5
9
  ## [0.1.5] - 27-02-2024
6
10
 
7
11
  - Added path /auto-services menu element to Training module
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerokratt-ria/menu",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Generic MainNavigation component that would be injected as dependency.",
5
5
  "main": "index.js",
6
6
  "scripts": {},
@@ -65,7 +65,7 @@ const MainNavigation: FC<{items: MenuItem[], serviceId: string[]}> = ( {items, s
65
65
  let activeMenuId;
66
66
 
67
67
  const { data } = useQuery({
68
- queryKey: ['account/user-role', 'prod'],
68
+ queryKey: ['accounts/user-role', 'prod'],
69
69
  onSuccess: (res: any) => {
70
70
  const filteredItems =
71
71
  items.filter((item) => {
Binary file