@etsoo/react 1.3.35 → 1.3.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -350,7 +350,7 @@ export class NotifierMU extends NotifierReact {
350
350
  */
351
351
  addRaw(data, modal) {
352
352
  // Destruct
353
- const { type, content, title, align, timespan, ...rest } = data;
353
+ const { type, content, title, align, timespan = modal ? 0 : undefined, ...rest } = data;
354
354
  // Setup
355
355
  const n = new NotificationMU(type, content, title, align, timespan);
356
356
  // Assign other properties
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.3.35",
3
+ "version": "1.3.36",
4
4
  "description": "TypeScript ReactJs framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,7 +50,7 @@
50
50
  "@emotion/react": "^11.7.0",
51
51
  "@emotion/style": "^0.8.0",
52
52
  "@emotion/styled": "^11.6.0",
53
- "@etsoo/appscript": "^1.1.50",
53
+ "@etsoo/appscript": "^1.1.51",
54
54
  "@etsoo/notificationbase": "^1.0.94",
55
55
  "@etsoo/shared": "^1.0.75",
56
56
  "@mui/icons-material": "^5.2.0",
@@ -581,7 +581,14 @@ export class NotifierMU extends NotifierReact {
581
581
  modal?: boolean
582
582
  ): INotificationReact {
583
583
  // Destruct
584
- const { type, content, title, align, timespan, ...rest } = data;
584
+ const {
585
+ type,
586
+ content,
587
+ title,
588
+ align,
589
+ timespan = modal ? 0 : undefined,
590
+ ...rest
591
+ } = data;
585
592
 
586
593
  // Setup
587
594
  const n = new NotificationMU(type, content, title, align, timespan);