File tree 2 files changed +676
-674
lines changed
gui/app/components/layout
2 files changed +676
-674
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -24,20 +24,22 @@ export default Component.extend({
24
24
25
25
init ( ) {
26
26
this . _super ( ...arguments ) ;
27
- this . eventBus . subscribe ( 'notifyUser' , this , 'handleEvent ' ) ;
27
+ this . eventBus . subscribe ( 'notifyUser' , this , 'processNotification ' ) ;
28
28
} ,
29
29
30
- handleEvent ( msg ) {
30
+ processNotification ( msg ) {
31
31
if ( this . get ( 'isDestroyed' ) || this . get ( 'isDestroying' ) ) return ;
32
32
33
33
if ( msg === 'wait' ) {
34
34
this . set ( 'showWait' , true ) ;
35
+ this . set ( 'showMessage' , false ) ;
35
36
this . set ( 'showDone' , false ) ;
36
37
}
37
38
38
39
if ( msg === 'done' ) {
39
40
$ ( '.progress-done' ) . removeClass ( 'zoomOut' ) . addClass ( 'zoomIn' ) ;
40
41
this . set ( 'showWait' , false ) ;
42
+ this . set ( 'showMessage' , false ) ;
41
43
this . set ( 'showDone' , true ) ;
42
44
43
45
setTimeout ( function ( ) {
You can’t perform that action at this time.
0 commit comments