update signal model
This commit is contained in:
@@ -115,10 +115,10 @@ export class SignalFormComponent {
|
||||
|
||||
const postRequest: SignalRequest = {
|
||||
genomforandeReferens: +genomforandeReferens,
|
||||
typ: type,
|
||||
type,
|
||||
omfattning,
|
||||
omfattning_procent: omfattning === 'deltid' ? percent : null,
|
||||
startdatum: formatDate(startDate),
|
||||
omfattningPercent: omfattning === 'deltid' ? percent : null,
|
||||
startDate: formatDate(startDate),
|
||||
};
|
||||
|
||||
this.signalFormService
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export interface SignalRequest {
|
||||
genomforandeReferens: number;
|
||||
typ: 'arbete' | 'utbildning';
|
||||
type: 'arbete' | 'utbildning';
|
||||
omfattning: 'heltid' | 'deltid';
|
||||
omfattning_procent: number;
|
||||
startdatum: string;
|
||||
omfattningPercent: number;
|
||||
startDate: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user