monkey-front-core 0.0.240 → 0.0.241
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.
- package/esm2020/lib/core/interfaces/monkeyecx-config.mjs +1 -1
- package/esm2020/lib/core/services/config/monkeyecx-alerts-config.service.mjs +3 -3
- package/fesm2015/monkey-front-core.mjs +2 -2
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +2 -2
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/interfaces/monkeyecx-config.d.ts +1 -0
- package/monkey-front-core-0.0.241.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.240.tgz +0 -0
|
@@ -3197,8 +3197,8 @@ class MonkeyEcxAlertsConfigService {
|
|
|
3197
3197
|
}
|
|
3198
3198
|
handleValidation(config) {
|
|
3199
3199
|
if (config.alert) {
|
|
3200
|
-
const { img, title, message, endDate } = config.alert;
|
|
3201
|
-
if (moment.default().isSameOrBefore(moment.default(endDate))) {
|
|
3200
|
+
const { img, title, message, endDate, noEndDate } = config.alert;
|
|
3201
|
+
if (moment.default().isSameOrBefore(moment.default(endDate)) || noEndDate) {
|
|
3202
3202
|
this.modalService.open(AlertsComponent, {
|
|
3203
3203
|
color: 'theme',
|
|
3204
3204
|
size: 'md',
|