Skip to content

Commit

Permalink
[FIX] pos_restaurant: hide badge when floor edit mode
Browse files Browse the repository at this point in the history
closes odoo#143515

Signed-off-by: Adrien Guilliams (adgu) <adgu@odoo.com>
  • Loading branch information
caburj committed Nov 27, 2023
1 parent 1d515d2 commit d8fc625
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<span
t-att-class="orderCountClass"
class="badge d-flex align-items-center justify-content-center position-absolute rounded-pill"
t-attf-class="{{ orderCount === 0 ? 'd-none' : ''}}"
t-attf-class="{{ orderCount === 0 or pos.isEditMode ? 'd-none' : ''}}"
t-att-style="badgeStyle"
t-esc="orderCount"/>
</div>
Expand Down

0 comments on commit d8fc625

Please sign in to comment.