Categories
CMS Magento Mastering Development

Store switch error in admin magento 2

I have a custom module.
when I switch store view it not show anything.

normally it still working fine in all store view

update:
I have added it in XML file

        <referenceContainer name="page.main.actions">
        <block class="Magento\Backend\Block\Store\Switcher" name="store_switcher">
            <action method="setUseConfirm">
                <argument name="params" xsi:type="string">1</argument>
            </action>
        </block>
    </referenceContainer>

Any help? Thank in advance.

Leave a Reply

Your email address will not be published. Required fields are marked *