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 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'
} }
} }