@finema/finework-layer 0.2.100 → 0.2.101
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,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.101](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.100...0.2.101) (2025-12-29)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* noti employee ([623759b](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/623759b44665e37908fa4d342e3163fa28d47434))
|
|
8
|
+
|
|
3
9
|
## [0.2.100](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.99...0.2.100) (2025-12-29)
|
|
4
10
|
|
|
5
11
|
### Features
|
|
@@ -107,6 +107,8 @@ const getLink = (item: INotificationItem) => {
|
|
|
107
107
|
|
|
108
108
|
if (item.source_type === 'PMO_PROJECT') {
|
|
109
109
|
return `/pmo/projects/${item.source_id}`
|
|
110
|
+
} else if (item.source_type === 'EMPLOYEE') {
|
|
111
|
+
return `/announcement/${item.source_id}`
|
|
110
112
|
}
|
|
111
113
|
|
|
112
114
|
return '#'
|
|
@@ -121,6 +123,8 @@ const getImage = (item: INotificationItem): string | null => {
|
|
|
121
123
|
return `/admin/clockin-logo.png`
|
|
122
124
|
} else if (item.source_type?.startsWith('SETTING')) {
|
|
123
125
|
return `/admin/setting-logo.png`
|
|
126
|
+
} else if (item.source_type?.startsWith('EMPLOYEE')) {
|
|
127
|
+
return `/admin/employee.png`
|
|
124
128
|
}
|
|
125
129
|
|
|
126
130
|
return null
|