File tree 1 file changed +35
-37
lines changed
src/AvtaleSide/Oppgavelinje
1 file changed +35
-37
lines changed Original file line number Diff line number Diff line change @@ -49,43 +49,41 @@ const OppgaveLinje: React.FunctionComponent = () => {
49
49
const visKunHendelseslog = avtaleAnnullertEllerAvbrutt || innloggetBruker . rolle !== 'VEILEDER' ;
50
50
51
51
return (
52
- < >
53
- < div className = { cls . element ( 'meny-wrapper' ) } >
54
- < TilbakeTilOversiktLenke onClick = { lagreEndringer } />
55
- { visKunHendelseslog && (
56
- < div >
57
- < Varsellogg />
58
- </ div >
59
- ) }
60
- { ! visKunHendelseslog && (
61
- < >
62
- < Button
63
- icon = { < Expand /> }
64
- iconPosition = "right"
65
- variant = "secondary"
66
- className = { cls . element ( 'popover-knapp' ) }
67
- id = "menyKnapp"
68
- onClick = { ( e ) => toggleMenu ( e ) }
69
- aria-expanded = { dropdown !== undefined }
70
- aria-controls = { 'menyvalg' }
71
- aria-haspopup = "menu"
72
- >
73
- Meny
74
- </ Button >
75
- < Popover
76
- placement = "bottom-end"
77
- open = { erÅpnet }
78
- anchorEl = { dropdown }
79
- onClose = { ( ) => setDropdown ( null ) }
80
- >
81
- < Popover . Content >
82
- < OppgaveLenker />
83
- </ Popover . Content >
84
- </ Popover >
85
- </ >
86
- ) }
87
- </ div >
88
- </ >
52
+ < div className = { cls . element ( 'meny-wrapper' ) } >
53
+ < TilbakeTilOversiktLenke onClick = { lagreEndringer } />
54
+ { visKunHendelseslog && (
55
+ < div >
56
+ < Varsellogg />
57
+ </ div >
58
+ ) }
59
+ { ! visKunHendelseslog && (
60
+ < >
61
+ < Button
62
+ icon = { < Expand /> }
63
+ iconPosition = "right"
64
+ variant = "secondary"
65
+ className = { cls . element ( 'popover-knapp' ) }
66
+ id = "menyKnapp"
67
+ onClick = { ( e ) => toggleMenu ( e ) }
68
+ aria-expanded = { dropdown !== undefined }
69
+ aria-controls = { 'menyvalg' }
70
+ aria-haspopup = "menu"
71
+ >
72
+ Meny
73
+ </ Button >
74
+ < Popover
75
+ placement = "bottom-end"
76
+ open = { erÅpnet }
77
+ anchorEl = { dropdown }
78
+ onClose = { ( ) => setDropdown ( null ) }
79
+ >
80
+ < Popover . Content >
81
+ < OppgaveLenker />
82
+ </ Popover . Content >
83
+ </ Popover >
84
+ </ >
85
+ ) }
86
+ </ div >
89
87
) ;
90
88
} ;
91
89
You can’t perform that action at this time.
0 commit comments