meemup-library 1.5.1 → 1.5.2
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.
|
@@ -130,7 +130,7 @@ export default new class KitchenController {
|
|
|
130
130
|
//-----------------------------------------------------------------------------------------------
|
|
131
131
|
desiredDateTime.setMinutes(desiredDateTime.getMinutes() + estimatedTime);
|
|
132
132
|
let tik = this.dateToSecond(desiredDateTime) - this.dateToSecond(currentDateTime);
|
|
133
|
-
return tik - ((kitchenTime + travelTime) * 60) > 0;
|
|
133
|
+
return tik - ((kitchenTime + travelTime + 5) * 60) > 0; //5 min teloranse
|
|
134
134
|
}
|
|
135
135
|
// isAddvanceOrder(detail: IKitchenOrderDetail) {
|
|
136
136
|
// let current = moment().format("YYYY-MM-DDTHH:mm:ss")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meemup-library",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"remove:one": "rimraf dist",
|
|
12
12
|
"remove:two": "rimraf ./src/dist",
|
|
13
13
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
-
"commit": "git add . && git commit -m \"version.1.5.
|
|
14
|
+
"commit": "git add . && git commit -m \"version.1.5.2\" && git push origin "
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"/dist"
|