@finema/finework-layer 0.2.101 → 0.2.103
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
|
+
## [0.2.103](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.102...0.2.103) (2026-01-06)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add asset management functionality and update routes ([a8bb09e](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/a8bb09e7d1c0ac1a9a4601e03daa44b6b7bc4015))
|
|
8
|
+
|
|
9
|
+
## [0.2.102](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.101...0.2.102) (2025-12-29)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* announemnet newsletter ([0d93946](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0d939467b0e11900a105e42c292ac84406e75a3c))
|
|
14
|
+
|
|
3
15
|
## [0.2.101](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.100...0.2.101) (2025-12-29)
|
|
4
16
|
|
|
5
17
|
### Features
|
|
@@ -107,7 +107,7 @@ 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 === '
|
|
110
|
+
} else if (item.source_type === 'NEWSLETTER') {
|
|
111
111
|
return `/announcement/${item.source_id}`
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -123,8 +123,8 @@ const getImage = (item: INotificationItem): string | null => {
|
|
|
123
123
|
return `/admin/clockin-logo.png`
|
|
124
124
|
} else if (item.source_type?.startsWith('SETTING')) {
|
|
125
125
|
return `/admin/setting-logo.png`
|
|
126
|
-
} else if (item.source_type?.startsWith('
|
|
127
|
-
return `/admin/
|
|
126
|
+
} else if (item.source_type?.startsWith('NEWSLETTER')) {
|
|
127
|
+
return `/admin/newsletter.png`
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
return null
|
|
@@ -346,6 +346,18 @@ const peopleApps = computed(() => [
|
|
|
346
346
|
]
|
|
347
347
|
: []),
|
|
348
348
|
|
|
349
|
+
...(auth.hasPermission(UserModule.ASSET, Permission.USER, Permission.ADMIN)
|
|
350
|
+
? [
|
|
351
|
+
{
|
|
352
|
+
name: 'Assets',
|
|
353
|
+
logo: '/admin/assets.png',
|
|
354
|
+
label: 'Assets',
|
|
355
|
+
description: 'ระบบจัดการสินทรัพย์',
|
|
356
|
+
to: routes.asset.item.items.to,
|
|
357
|
+
status: StatusPortal.ACTIVE,
|
|
358
|
+
},
|
|
359
|
+
]
|
|
360
|
+
: []),
|
|
349
361
|
...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
|
|
350
362
|
? [
|
|
351
363
|
{
|
|
@@ -370,18 +382,7 @@ const peopleApps = computed(() => [
|
|
|
370
382
|
},
|
|
371
383
|
]
|
|
372
384
|
: []),
|
|
373
|
-
|
|
374
|
-
? [
|
|
375
|
-
{
|
|
376
|
-
name: 'Assets',
|
|
377
|
-
logo: '/admin/assets.png',
|
|
378
|
-
label: 'Assets',
|
|
379
|
-
description: 'ระบบจัดการสินทรัพย์',
|
|
380
|
-
to: '/',
|
|
381
|
-
status: StatusPortal.DEVELOPING,
|
|
382
|
-
},
|
|
383
|
-
]
|
|
384
|
-
: []),
|
|
385
|
+
|
|
385
386
|
])
|
|
386
387
|
|
|
387
388
|
const legalApps = computed(() => [
|
package/app/constants/routes.ts
CHANGED