Skip to content

Commit 6617a5d

Browse files
committed
Show notifications in footer
1 parent 4cfbd57 commit 6617a5d

File tree

2 files changed

+676
-674
lines changed

2 files changed

+676
-674
lines changed

embed/bindata.go

+672-672
Large diffs are not rendered by default.

gui/app/components/layout/bottom-bar.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,22 @@ export default Component.extend({
2424

2525
init() {
2626
this._super(...arguments);
27-
this.eventBus.subscribe('notifyUser', this, 'handleEvent');
27+
this.eventBus.subscribe('notifyUser', this, 'processNotification');
2828
},
2929

30-
handleEvent(msg) {
30+
processNotification(msg) {
3131
if (this.get('isDestroyed') || this.get('isDestroying')) return;
3232

3333
if (msg === 'wait') {
3434
this.set('showWait', true);
35+
this.set('showMessage', false);
3536
this.set('showDone', false);
3637
}
3738

3839
if (msg === 'done') {
3940
$('.progress-done').removeClass('zoomOut').addClass('zoomIn');
4041
this.set('showWait', false);
42+
this.set('showMessage', false);
4143
this.set('showDone', true);
4244

4345
setTimeout(function() {

0 commit comments

Comments
 (0)