diff --git a/modules/travel/front/extra-community/index.js b/modules/travel/front/extra-community/index.js index 1fdbbb5a5..a4ac487e6 100644 --- a/modules/travel/front/extra-community/index.js +++ b/modules/travel/front/extra-community/index.js @@ -44,15 +44,13 @@ class Controller extends Section { } get hasDateRange() { - console.log(this.$.model); - // const userParams = Object.assign({}, this.$.model.userParams); - // console.log(userParams); - // const hasLanded = userParams.landedTo; - // const hasShipped = userParams.shippedFrom; - // const hasContinent = userParams.continent; - // const hasWarehouseOut = userParams.warehouseOutFk; + const userParams = this.$.model.userParams; + const hasLanded = userParams.landedTo; + const hasShipped = userParams.shippedFrom; + const hasContinent = userParams.continent; + const hasWarehouseOut = userParams.warehouseOutFk; - // return hasLanded || hasShipped || hasContinent || hasWarehouseOut; + return hasLanded || hasShipped || hasContinent || hasWarehouseOut; } onDragInterval() {