@finema/finework-layer 1.0.34 → 1.0.36
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
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.36](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.35...1.0.36) (2026-04-10)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* lint ([a5519f9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/a5519f9708e0a93c495fc4f261f01ad444cebc3d))
|
|
8
|
+
|
|
9
|
+
## [1.0.35](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.34...1.0.35) (2026-04-09)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* timeformnow prefix ([92fcac4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/92fcac4a316603b9358514b686bcc024ee596807))
|
|
14
|
+
|
|
3
15
|
## [1.0.34](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.33...1.0.34) (2026-04-09)
|
|
4
16
|
|
|
5
17
|
## [1.0.33](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.32...1.0.33) (2026-04-09)
|
|
@@ -134,6 +134,21 @@ const getLink = (item: INotificationItem) => {
|
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
case 'REQUEST':
|
|
138
|
+
{
|
|
139
|
+
switch (item.action_type) {
|
|
140
|
+
case 'REQUEST_WAITING_APPROVAL':
|
|
141
|
+
return `/request/approval/${item.data?.request_slug}/cards/${cardSlug}`
|
|
142
|
+
|
|
143
|
+
case 'REQUEST_APPROVED':
|
|
144
|
+
case 'REQUEST_REJECTED':
|
|
145
|
+
return `/request/${item.data?.request_slug}`
|
|
146
|
+
|
|
147
|
+
default:
|
|
148
|
+
return '#'
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
137
152
|
default:
|
|
138
153
|
return '#'
|
|
139
154
|
}
|
|
@@ -497,6 +497,18 @@ const peopleApps = computed(() => [
|
|
|
497
497
|
},
|
|
498
498
|
]
|
|
499
499
|
: []),
|
|
500
|
+
...(auth.hasPermission(UserModule.REQUEST, Permission.SUPER, Permission.ADMIN)
|
|
501
|
+
? [
|
|
502
|
+
{
|
|
503
|
+
name: 'Request Admin',
|
|
504
|
+
logo: '/admin/request-admin.svg',
|
|
505
|
+
label: 'Request Admin',
|
|
506
|
+
description: 'ระบบจัดการคำขออนุมัติต่างๆ',
|
|
507
|
+
to: routes.requestAdmin.userRequest.users.to,
|
|
508
|
+
status: StatusPortal.ACTIVE,
|
|
509
|
+
},
|
|
510
|
+
]
|
|
511
|
+
: []),
|
|
500
512
|
...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
|
|
501
513
|
? [
|
|
502
514
|
{
|
|
@@ -521,18 +533,6 @@ const peopleApps = computed(() => [
|
|
|
521
533
|
},
|
|
522
534
|
]
|
|
523
535
|
: []),
|
|
524
|
-
...(auth.hasPermission(UserModule.REQUEST, Permission.SUPER, Permission.ADMIN)
|
|
525
|
-
? [
|
|
526
|
-
{
|
|
527
|
-
name: 'Request Admin',
|
|
528
|
-
logo: '/admin/request-admin.svg',
|
|
529
|
-
label: 'Request Admin',
|
|
530
|
-
description: 'ระบบจัดการคำขออนุมัติต่างๆ',
|
|
531
|
-
to: routes.requestAdmin.userRequest.users.to,
|
|
532
|
-
status: StatusPortal.ACTIVE,
|
|
533
|
-
},
|
|
534
|
-
]
|
|
535
|
-
: []),
|
|
536
536
|
|
|
537
537
|
])
|
|
538
538
|
|