Improve message

This commit is contained in:
Peter Maquiran
2021-06-15 14:48:25 +01:00
parent 1682d63a42
commit b21fa3a3a2
10 changed files with 40 additions and 79 deletions
@@ -255,7 +255,7 @@ export class EditEventPage implements OnInit {
`
document.body.append(notification)
notification.querySelector('.text').innerHTML = message
notification.querySelector('.text').innerHTML = message || 'Processo efetuado'
setTimeout(()=>{
notification.remove()
},7000)
@@ -107,7 +107,7 @@ export class EventActionsPopoverPage implements OnInit {
`
document.body.append(notification)
notification.querySelector('.text').innerHTML = message
notification.querySelector('.text').innerHTML = message || 'Processo efetuado'
setTimeout(()=>{
notification.remove()
},7000)
@@ -184,7 +184,7 @@ export class NewEventPage implements OnInit {
`
document.body.append(notification)
notification.querySelector('.text').innerHTML = message
notification.querySelector('.text').innerHTML = message || 'Processo efetuado'
setTimeout(()=>{
notification.remove()
},7000)
@@ -479,10 +479,11 @@ export class DespachoPrPage implements OnInit {
`
document.body.append(notification)
notification.querySelector('.text').innerHTML = message
notification.querySelector('.text').innerHTML = message || 'Processo efetuado'
setTimeout(()=>{
notification.remove()
},7000)
}
async badRequest(message?: string, callback?) {
@@ -459,7 +459,7 @@ export class DespachoPage implements OnInit {
`
document.body.append(notification)
notification.querySelector('.text').innerHTML = message
notification.querySelector('.text').innerHTML = message || 'Processo efetuado'
setTimeout(()=>{
notification.remove()
},7000)
@@ -547,7 +547,7 @@ export class ExpedientTaskModalPage implements OnInit {
`
document.body.append(notification)
notification.querySelector('.text').innerHTML = message
notification.querySelector('.text').innerHTML = message || 'Processo efetuado'
setTimeout(()=>{
notification.remove()
},7000)
@@ -569,7 +569,7 @@ export class ExpedientTaskModalPage implements OnInit {
`
document.body.append(notification)
notification.querySelector('.text').innerHTML = message
notification.querySelector('.text').innerHTML = message || 'Processo não efetuado'
setTimeout(()=>{
notification.remove()
},7000)