diff --git a/static/src/app/generic_components/order_widget/order_widget_patch.js b/static/src/app/generic_components/order_widget/order_widget_patch.js index 54f070e..17e2659 100644 --- a/static/src/app/generic_components/order_widget/order_widget_patch.js +++ b/static/src/app/generic_components/order_widget/order_widget_patch.js @@ -41,6 +41,9 @@ patch(OrderWidget.prototype, { }, get linesToDisplay() { + if (this.props.editable === false || this.props.editable === 'false') { + return this.props.lines; + } return this.props.lines.slice(0, this.state.displayedCount); } });