Commit 60876abb06b45d0d1d1174b6572c7d276dc71e10
Exists in
develop
Merge branch 'develop' into 'develop'
Develop See merge request !129
Showing
4 changed files
Show diff stats
src/app/modules/comanda/comanda.component.ts
... | ... | @@ -2,6 +2,7 @@ import { Component, OnInit } from '@angular/core'; |
2 | 2 | import { IComanda, IComandaDetalle, IComponente } from 'src/app/interfaces/IComanda'; |
3 | 3 | import { ComandaService } from 'src/app/services/comanda/comanda.service'; |
4 | 4 | import * as _ from 'lodash'; |
5 | +import { SoundManager } from 'src/app/utils/sound-manager'; | |
5 | 6 | |
6 | 7 | @Component({ |
7 | 8 | selector: 'app-comanda', |
... | ... | @@ -47,6 +48,7 @@ export class ComandaComponent implements OnInit { |
47 | 48 | } |
48 | 49 | } |
49 | 50 | if (!resComandas.length) return; |
51 | + SoundManager.playAudio('bell.mp3'); | |
50 | 52 | Array.prototype.push.apply(this.comandas, resComandas); |
51 | 53 | this.startTimersPedido(resComandas); |
52 | 54 | } |
src/app/utils/sound-manager.ts
src/assets/sounds/beep-01a.wav
No preview for this file type
src/assets/sounds/bell.mp3
No preview for this file type