- Email Ordine da template HTML
- Corretto altro
This commit is contained in:
@@ -2738,19 +2738,19 @@ export const tools = {
|
||||
})
|
||||
},
|
||||
|
||||
showPositiveNotif(q: any, msg: string, time?: number) {
|
||||
this.showNotif(q, msg, { color: 'positive', icon: 'notifications' }, time)
|
||||
showPositiveNotif(q: any, msg: string, time?: number, group?: any) {
|
||||
this.showNotif(q, msg, { color: 'positive', icon: 'notifications' }, time, group)
|
||||
},
|
||||
|
||||
showNegativeNotif(q: any, msg: string, time = 5000) {
|
||||
this.showNotif(q, msg, { color: 'negative', icon: 'notifications' }, time)
|
||||
showNegativeNotif(q: any, msg: string, time = 5000, group?: any) {
|
||||
this.showNotif(q, msg, { color: 'negative', icon: 'notifications' }, time, group)
|
||||
},
|
||||
|
||||
showNeutralNotif(q: any, msg: string, time = 10000) {
|
||||
this.showNotif(q, msg, { color: 'info', icon: 'notifications' }, time)
|
||||
},
|
||||
|
||||
showNotif(q: any, msg: string, data?: INotify | null, time?: number) {
|
||||
showNotif(q: any, msg: string, data?: INotify | null, time?: number, group?: any) {
|
||||
let myicon = data ? data.icon : 'ion-add'
|
||||
if (!myicon) {
|
||||
myicon = 'ion-add'
|
||||
@@ -2760,7 +2760,7 @@ export const tools = {
|
||||
mycolor = 'primary'
|
||||
}
|
||||
q.notify({
|
||||
// group: '',
|
||||
group: group ?? '',
|
||||
message: msg,
|
||||
icon: myicon,
|
||||
classes: 'my-notif-class',
|
||||
|
||||
Reference in New Issue
Block a user