File tree 3 files changed +11
-1
lines changed
kandidat/kandidatliste/kandidatrad/smsstatus
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 45
45
deploy-til-dev :
46
46
name : Deploy til dev-gcp
47
47
needs : bygg-og-push-docker-image
48
- if : github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/amp '
48
+ if : github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/legger-til-ferdigstilt-hendelse-varsling '
49
49
runs-on : ubuntu-latest
50
50
steps :
51
51
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ export enum EksternStatus {
50
50
/** Vi har fått bekreftet at en e-post er sendt. */
51
51
VELLYKKET_EPOST = 'VELLYKKET_EPOST' ,
52
52
53
+ /** Varsling er ferdigstilt*/
54
+ FERDIGSTILT = 'FERDIGSTILT' ,
55
+
53
56
/** Det skjedde en feil, og vi vil ikke prøve å sende varselet igjen. */
54
57
FEIL = 'FEIL' ,
55
58
}
@@ -58,6 +61,7 @@ const EksternStatusSchema = z
58
61
. literal ( EksternStatus . UNDER_UTSENDING )
59
62
. or ( z . literal ( EksternStatus . VELLYKKET_SMS ) )
60
63
. or ( z . literal ( EksternStatus . VELLYKKET_EPOST ) )
64
+ . or ( z . literal ( EksternStatus . FERDIGSTILT ) )
61
65
. or ( z . literal ( EksternStatus . FEIL ) ) ;
62
66
63
67
const SmsSchema = z
Original file line number Diff line number Diff line change @@ -66,6 +66,12 @@ const Popuptekst: FunctionComponent<{ sms: Sms }> = ({ sms }) => {
66
66
< br /> Ekstern varsel: epost sendt
67
67
</ >
68
68
) ;
69
+ case 'FERDIGSTILT' :
70
+ return (
71
+ < >
72
+ < br /> Ekstern varsel: varsling er ferdigstilt{ ' ' }
73
+ </ >
74
+ ) ;
69
75
case 'FEIL' :
70
76
return (
71
77
< >
You can’t perform that action at this time.
0 commit comments