mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
workaround pending for UI
This commit is contained in:
parent
d6b30875a4
commit
4a8fa65e5f
@ -461,7 +461,7 @@ Application.Controllers.controller('EditPricingController', ['$scope', '$state',
|
||||
*/
|
||||
$scope.findPriceBy = function (prices, machineId, groupId) {
|
||||
for (const price of Array.from(prices)) {
|
||||
if ((price.priceable_id === machineId) && (price.group_id === groupId)) {
|
||||
if ((price.priceable_id === machineId) && (price.group_id === groupId) && (price.duration === 60)) {
|
||||
return price;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user