From 7e1af2fe51ef7f1dd55d75c8d74aeace02bbe5ad Mon Sep 17 00:00:00 2001 From: gcarron <gcarron@grandlyon.com> Date: Mon, 19 Sep 2022 17:25:44 +0200 Subject: [PATCH] publish: Update .gitlab/merge_request_templates/default.md generated from commit a24a43e189b99de70d5f93e9d454ff2060b8684f --- ....d2d2f74e505de9d4da08.js => ecolyo.661ca74a9860cde92f98.js} | 1 - index.html | 2 +- services/consumptionAlert/ecolyo.js | 3 +-- services/monthlyReportNotification/ecolyo.js | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) rename app/{ecolyo.d2d2f74e505de9d4da08.js => ecolyo.661ca74a9860cde92f98.js} (99%) diff --git a/app/ecolyo.d2d2f74e505de9d4da08.js b/app/ecolyo.661ca74a9860cde92f98.js similarity index 99% rename from app/ecolyo.d2d2f74e505de9d4da08.js rename to app/ecolyo.661ca74a9860cde92f98.js index 7872e491a..75ee69448 100644 --- a/app/ecolyo.d2d2f74e505de9d4da08.js +++ b/app/ecolyo.661ca74a9860cde92f98.js @@ -3235,7 +3235,6 @@ var _classCallCheck2 = _interopRequireDefault(__webpack_require__("lwsE")); var _createClass2 = _interopRequireDefault(__webpack_require__("W8MJ")); -/* eslint-disable @typescript-eslint/no-explicit-any */ var MailService = /*#__PURE__*/function () { function MailService() { (0, _classCallCheck2.default)(this, MailService); diff --git a/index.html b/index.html index 9ebf0b854..5497a2403 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=0,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.c1180bc5cd66dfd3234e.js"></script><script src="app/ecolyo.d2d2f74e505de9d4da08.js"></script></div></body></html> \ No newline at end of file +<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=0,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.c1180bc5cd66dfd3234e.js"></script><script src="app/ecolyo.661ca74a9860cde92f98.js"></script></div></body></html> \ No newline at end of file diff --git a/services/consumptionAlert/ecolyo.js b/services/consumptionAlert/ecolyo.js index b396d7f86..a632ef458 100644 --- a/services/consumptionAlert/ecolyo.js +++ b/services/consumptionAlert/ecolyo.js @@ -80927,7 +80927,7 @@ const consumptionAlert = async ({ if (fetchedData && fetchedData.length > 0) { fetchedData.forEach(element => { - if (element.value) { + if (element.value && element.value > lastDayValue) { lastDayValue = element.value; } @@ -80981,7 +80981,6 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = void 0; -/* eslint-disable @typescript-eslint/no-explicit-any */ class MailService { async SendMail(client, mailInfo) { try { diff --git a/services/monthlyReportNotification/ecolyo.js b/services/monthlyReportNotification/ecolyo.js index e6fe0ee85..2d7ae76e5 100644 --- a/services/monthlyReportNotification/ecolyo.js +++ b/services/monthlyReportNotification/ecolyo.js @@ -80868,7 +80868,6 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = void 0; -/* eslint-disable @typescript-eslint/no-explicit-any */ class MailService { async SendMail(client, mailInfo) { try { -- GitLab