Merge branch 'main' into statusflagg
This commit is contained in:
commit
44dcb33d92
2 changed files with 4 additions and 2 deletions
|
@ -71,7 +71,7 @@ export const FeilkortHeader = (props: IFeilmelding) => {
|
|||
<Heading size="medium">{props.tittel}</Heading>
|
||||
<p className="text-text-subtle mb-4">{props.dato.toDateString()}</p>
|
||||
<p>{props.beskrivelse}</p>
|
||||
</div>
|
||||
</div>
|
||||
<TagBar haster={props.haster} arbeidsstatus={props.arbeidsstatus}/>
|
||||
</div>
|
||||
)
|
||||
|
|
|
@ -18,7 +18,9 @@ export default function Feil() {
|
|||
const payload = {
|
||||
tittel: tittel,
|
||||
beskrivelse: beskrivelse,
|
||||
dato: new Date().toISOString().replace('Z', '')
|
||||
dato: new Date().toISOString().replace('Z', ''), // Litt wack fix, burde endres
|
||||
arbeidsstatus: 0,
|
||||
haster: false
|
||||
}
|
||||
|
||||
axios.post("/api/nyfeil", payload, {
|
||||
|
|
Reference in a new issue