Merge branch 'develop' into feature/TV-565-signal-view
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
import { SignalResponse } from './api/signal.response.model';
|
||||
|
||||
export interface Signal {
|
||||
type: 'arbete' | 'utbildning';
|
||||
omfattning: 'heltid' | 'deltid';
|
||||
percent: number;
|
||||
startDate: Date;
|
||||
}
|
||||
import { Signal } from '../../pages/deltagare/pages/deltagare-details/pages/report-forms/signal-form/signal-form.model';
|
||||
|
||||
export function mapResponseToSignal(data: SignalResponse): Signal {
|
||||
const { typ, startdatum, omfattning, omfattning_procent } = data;
|
||||
|
||||
Reference in New Issue
Block a user