@buerokratt-ria/menu 0.1.4 → 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,15 @@
|
|
|
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
|
+
|
|
9
|
+
## [0.1.5] - 27-02-2024
|
|
10
|
+
|
|
11
|
+
- Added path /auto-services menu element to Training module
|
|
12
|
+
- Replaced path /followup-training /auto-services menu element to Service module
|
|
13
|
+
|
|
5
14
|
## [0.1.4] - 09-02-2024
|
|
6
15
|
|
|
7
16
|
- Removed /buerokratt menu element from Analytics module
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -107,6 +107,13 @@
|
|
|
107
107
|
"en": "Slots"
|
|
108
108
|
},
|
|
109
109
|
"path": "/training/slots"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"label": {
|
|
113
|
+
"et": "Automatic Teenused",
|
|
114
|
+
"en": "Automatic Services"
|
|
115
|
+
},
|
|
116
|
+
"path": "/auto-services"
|
|
110
117
|
}
|
|
111
118
|
]
|
|
112
119
|
},
|
|
@@ -241,10 +248,10 @@
|
|
|
241
248
|
},
|
|
242
249
|
{
|
|
243
250
|
"label": {
|
|
244
|
-
"et": "
|
|
245
|
-
"en": "
|
|
251
|
+
"et": "Automatic Teenused",
|
|
252
|
+
"en": "Automatic Services"
|
|
246
253
|
},
|
|
247
|
-
"path": "/
|
|
254
|
+
"path": "/auto-services"
|
|
248
255
|
},
|
|
249
256
|
{
|
|
250
257
|
"label": {
|
package/src/menu/index.tsx
CHANGED
|
@@ -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: ['
|
|
68
|
+
queryKey: ['accounts/user-role', 'prod'],
|
|
69
69
|
onSuccess: (res: any) => {
|
|
70
70
|
const filteredItems =
|
|
71
71
|
items.filter((item) => {
|
|
Binary file
|