@finema/finework-layer 2.0.57 → 2.0.58
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
|
+
## [2.0.58](https://gitlab.finema.co/finema/internal/finework/compare/2.0.57...2.0.58) (2026-09-06)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* link document ([5df0504](https://gitlab.finema.co/finema/internal/finework/commit/5df050478e00af24633c3bcb4f7ae94536ecdec2))
|
|
8
|
+
|
|
3
9
|
## [2.0.57](https://gitlab.finema.co/finema/internal/finework/compare/2.0.56...2.0.57) (2026-09-04)
|
|
4
10
|
|
|
5
11
|
### Bug Fixes
|
|
@@ -231,8 +231,17 @@ const getLink = (item: INotificationItem) => {
|
|
|
231
231
|
case 'DOCUMENT':
|
|
232
232
|
{
|
|
233
233
|
switch (item.action_type) {
|
|
234
|
-
case 'DOCUMENT_BIZCO_WAITING':
|
|
235
|
-
|
|
234
|
+
case 'DOCUMENT_BIZCO_WAITING': {
|
|
235
|
+
const documentName = item.data?.document_name
|
|
236
|
+
const projectID = item.data?.project_id
|
|
237
|
+
|
|
238
|
+
if (!documentName) return `/docs-management/register}`
|
|
239
|
+
|
|
240
|
+
let link = `/docs-management/register?q=${documentName}`
|
|
241
|
+
if (projectID) link += `&project_id=${projectID}`
|
|
242
|
+
|
|
243
|
+
return link
|
|
244
|
+
}
|
|
236
245
|
|
|
237
246
|
default:
|
|
238
247
|
return '#'
|