File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,15 @@ export default class Notification extends React.Component {
45
45
}
46
46
47
47
this . setState ( { open : false } )
48
- store . set ( "pajanotification .shown2" , true )
48
+ store . set ( "javafx .shown2" , true )
49
49
}
50
50
51
51
handleRefresh = ( ) => {
52
52
window . location . reload ( )
53
53
}
54
54
55
55
render ( ) {
56
- if ( ! this . state . render || store . get ( "pajanotification .shown2" ) ) {
56
+ if ( ! this . state . render || store . get ( "javafx .shown2" ) ) {
57
57
return < div />
58
58
}
59
59
return (
@@ -67,15 +67,9 @@ export default class Notification extends React.Component {
67
67
< Fragment >
68
68
< StyledInfoIcon />
69
69
< StyledTypography >
70
- Pajaohjausta on nyt saatavilla! Pajasta saa apua tehtäviin,
71
- ohjelmointiin ja teknisiin ongelmiin sekä hyvää
72
- ohjelmointiseuraa. Paja sijaitsee Helsingin Kumpulan
73
- kampuksella. Kaikki ovat tervetulleita pajaan! Muut paja-ajat ja
74
- tarkemmat ohjeet löytyvät{ " " }
75
- < Link onClick = { this . handleClose } to = "/tukivaylat" >
76
- tukiväylät
77
- </ Link >
78
- -sivulta.
70
+ Apologies for the JavaFX issue in some of the exercises in parts
71
+ 13 and 14! We are currently investigating it and will hopefully
72
+ fix it asap.
79
73
</ StyledTypography >
80
74
</ Fragment >
81
75
}
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import {
29
29
SMALL_MEDIUM_BREAKPOINT ,
30
30
} from "../util/constants"
31
31
import withSimpleErrorBoundary from "../util/withSimpleErrorBoundary"
32
+ import Notification from "../components/Notification"
32
33
33
34
fontAwesomeConfig . autoAddCss = false
34
35
@@ -137,6 +138,7 @@ class Layout extends React.Component {
137
138
< SidebarPush >
138
139
< TopBar />
139
140
< ContentArea mobileMenuOpen = { this . state . mobileMenuOpen } >
141
+ < Notification />
140
142
{ children }
141
143
</ ContentArea >
142
144
< PointsBalloon />
You can’t perform that action at this time.
0 commit comments