Skip to content

Commit c8adcef

Browse files
ylfahfaandes-itkodiakhq[bot]
authored
fix(income-plan): modify/add tags to actionCard (#16496)
* add action card tags to states and modify draft tag * chore: nx format:write update dirty files --------- Co-authored-by: andes-it <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 16a862a commit c8adcef

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

libs/application/templates/social-insurance-administration/core/src/lib/messages.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ export const statesMessages = defineMessages({
680680
},
681681
inProgressTag: {
682682
id: 'sia.application:in.progress.tag',
683-
defaultMessage: 'Í vinnslu',
684-
description: 'In progress',
683+
defaultMessage: 'Í vinnslu hjá þér',
684+
description: 'In progress with you',
685685
},
686686
})

libs/application/templates/social-insurance-administration/income-plan/src/lib/IncomePlanTemplate.ts

+7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {
2+
coreMessages,
23
DefaultStateLifeCycle,
34
EphemeralStateLifeCycle,
45
pruneAfterDays,
@@ -234,6 +235,9 @@ const IncomePlanTemplate: ApplicationTemplate<
234235
status: 'inprogress',
235236
lifecycle: pruneAfterDays(365),
236237
actionCard: {
238+
tag: {
239+
label: coreMessages.tagsInProgress,
240+
},
237241
pendingAction: {
238242
title: statesMessages.tryggingastofnunInReviewTitle,
239243
content: statesMessages.tryggingastofnunInReviewContent,
@@ -269,6 +273,9 @@ const IncomePlanTemplate: ApplicationTemplate<
269273
status: 'completed',
270274
lifecycle: DefaultStateLifeCycle,
271275
actionCard: {
276+
tag: {
277+
label: coreMessages.tagsDone,
278+
},
272279
pendingAction: {
273280
title: statesMessages.incomePlanProcessed,
274281
content: statesMessages.incomePlanProcessedDescription,

0 commit comments

Comments
 (0)