hunk.code_window: /** @odoo-module **/
   import concurrency from '@web/legacy/js/core/concurrency';
   import utils from '@web/legacy/js/core/utils';
   import weUtils from '@web_editor/js/common/utils';
   import { _t } from "@web/core/l10n/translation";
  
hunk.labels: keep keep replace keep keep keep
hunk.after_edit: import { delay } from "@web/core/utils/concurrency";
  
hunk.file_path: addons/website/static/src/client_actions/configurator/configurator.js
hunk.type: replace
file: <?xml version="1.0" encoding="UTF-8"?>
  <templates id="template" xml:space="preserve">
  
      <t t-name="pos_restaurant.Navbar" t-inherit="point_of_sale.Navbar" t-inherit-mode="extension">
          <xpath expr="//li[hasclass('backend-button')]" position="before">
              <li t-if="pos.mainScreen.component.name == 'FloorScreen'" class="menu-item navbar-button edit-button" t-on-click="toggleEditMode">
                  <a class="dropdown-item py-2">Edit Plan</a>
              </li>
              <li t-if="pos.mainScreen.component.name == 'FloorScreen'" class="menu-item navbar-button" t-on-click="onSwitchButtonClick">
                  <a class="dropdown-item py-2">Switch Floor View</a>
              </li>
          </xpath>
      </t>
  
  </templates>
  