This commit is contained in:
AntoXa PRO 2023-10-03 11:18:30 +03:00
parent 4e7d00db9b
commit 55f9050dc9

View File

@ -7,8 +7,8 @@ export class NotificationItem implements TNotificationItem {
code: string
text: string
constructor(args: { code: string; text: string }) {
this.code = args.code
constructor(args: { text: string, code?: string }) {
this.text = args.text
this.code = args.code || 'info'
}
}