@finema/finework-layer 0.2.130 → 0.2.131

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.131](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.130...0.2.131) (2026-02-06)
4
+
5
+ ### Bug Fixes
6
+
7
+ * expand TODO action types in getLink function for improved routing ([ffb6bac](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/ffb6bac6707943de06afee61cd6e9cc827d92354))
8
+
3
9
  ## [0.2.130](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.129...0.2.130) (2026-02-06)
4
10
 
5
11
  ### Bug Fixes
@@ -109,7 +109,7 @@ const getLink = (item: INotificationItem) => {
109
109
  return `/pmo/projects/${item.source_id}`
110
110
  } else if (item.source_type === 'NEWSLETTER') {
111
111
  return `/announcement/${item.source_id}`
112
- } else if (item.source_type === 'TODO' && item.action_type === 'TODO_ASSIGN_CARD') {
112
+ } else if (item.source_type === 'TODO' && (item.action_type === 'TODO_ASSIGN_CARD' || item.action_type === 'TODO_COMMENT_ADD' || item.action_type === 'TODO_DUE_DATE_CHANGE' || item.action_type === 'TODO_STATUS_CHANGE')) {
113
113
  return `/todo/boards/${item.data?.todo_board_slug}/cards/${item.data?.todo_slug}`
114
114
  } else if (item.source_type === 'TODO' && (item.action_type === 'TODO_REMOVE_CARD' || item.action_type === 'TODO_ASSIGN_BOARD')) {
115
115
  return `/todo/boards/${item.data?.todo_board_slug}`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.130",
4
+ "version": "0.2.131",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",