notify
This commit is contained in:
parent
4e7d00db9b
commit
55f9050dc9
@ -7,8 +7,8 @@ export class NotificationItem implements TNotificationItem {
|
|||||||
code: string
|
code: string
|
||||||
text: string
|
text: string
|
||||||
|
|
||||||
constructor(args: { code: string; text: string }) {
|
constructor(args: { text: string, code?: string }) {
|
||||||
this.code = args.code
|
|
||||||
this.text = args.text
|
this.text = args.text
|
||||||
|
this.code = args.code || 'info'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user