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 {
4545 }
4646
4747 this . setState ( { open : false } )
48- store . set ( "pajanotification .shown2" , true )
48+ store . set ( "javafx .shown2" , true )
4949 }
5050
5151 handleRefresh = ( ) => {
5252 window . location . reload ( )
5353 }
5454
5555 render ( ) {
56- if ( ! this . state . render || store . get ( "pajanotification .shown2" ) ) {
56+ if ( ! this . state . render || store . get ( "javafx .shown2" ) ) {
5757 return < div />
5858 }
5959 return (
@@ -67,15 +67,9 @@ export default class Notification extends React.Component {
6767 < Fragment >
6868 < StyledInfoIcon />
6969 < 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.
7973 </ StyledTypography >
8074 </ Fragment >
8175 }
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import {
2929 SMALL_MEDIUM_BREAKPOINT ,
3030} from "../util/constants"
3131import withSimpleErrorBoundary from "../util/withSimpleErrorBoundary"
32+ import Notification from "../components/Notification"
3233
3334fontAwesomeConfig . autoAddCss = false
3435
@@ -137,6 +138,7 @@ class Layout extends React.Component {
137138 < SidebarPush >
138139 < TopBar />
139140 < ContentArea mobileMenuOpen = { this . state . mobileMenuOpen } >
141+ < Notification />
140142 { children }
141143 </ ContentArea >
142144 < PointsBalloon />
You can’t perform that action at this time.
0 commit comments