@finema/finework-layer 1.0.25 → 1.0.26
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 +6 -0
- package/app/components/PortalApp.vue +2 -2
- package/app/constants/routes.ts +18 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.26](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.25...1.0.26) (2026-03-27)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* update navigation routes for Request and Request Admin in PortalApp ([29fdda5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/29fdda5e319f6cd290da76b3a706ef73e0fa31b3))
|
|
8
|
+
|
|
3
9
|
## [1.0.25](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.24...1.0.25) (2026-03-27)
|
|
4
10
|
|
|
5
11
|
### Bug Fixes
|
|
@@ -332,7 +332,7 @@ const dailyApps = computed(() => [
|
|
|
332
332
|
logo: '/admin/request.png',
|
|
333
333
|
label: 'Request',
|
|
334
334
|
description: 'ระบบขอ ลา เบิก อนุมัติรายการต่างๆ',
|
|
335
|
-
to:
|
|
335
|
+
to: routes.request.myRequest.to,
|
|
336
336
|
status: StatusPortal.ACTIVE,
|
|
337
337
|
},
|
|
338
338
|
])
|
|
@@ -528,7 +528,7 @@ const peopleApps = computed(() => [
|
|
|
528
528
|
logo: '/admin/request-admin.svg',
|
|
529
529
|
label: 'Request Admin',
|
|
530
530
|
description: 'ระบบจัดการคำขออนุมัติต่างๆ',
|
|
531
|
-
to:
|
|
531
|
+
to: routes.requestAdmin.dashboard.to,
|
|
532
532
|
status: StatusPortal.ACTIVE,
|
|
533
533
|
},
|
|
534
534
|
]
|
package/app/constants/routes.ts
CHANGED
|
@@ -159,5 +159,23 @@ export const routes = {
|
|
|
159
159
|
},
|
|
160
160
|
},
|
|
161
161
|
},
|
|
162
|
+
request: {
|
|
163
|
+
myRequest: {
|
|
164
|
+
requests: {
|
|
165
|
+
label: 'My Requests',
|
|
166
|
+
to: '/request',
|
|
167
|
+
icon: 'ph:clipboard',
|
|
168
|
+
permissions: ['request:USER'],
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
requestAdmin: {
|
|
173
|
+
dashboard: {
|
|
174
|
+
label: 'แดชบอร์ด',
|
|
175
|
+
to: '/request-admin',
|
|
176
|
+
icon: 'ph:grid-four',
|
|
177
|
+
permissions: ['request:USER', 'request:ADMIN', 'request:SUPER'],
|
|
178
|
+
},
|
|
179
|
+
},
|
|
162
180
|
|
|
163
181
|
} as const
|