Closed
Description
Describe the bug
If you try to overwrite the layout / template and so on, all the available themes are available in the dropdown. But this makes it possible to make an error and when overriding a file from the frontend folder, you can accidentally select the backend theme.
To Reproduce
Steps to reproduce the behavior:
- Go to frontend/layout folder in any module.
- Right Click on any xml file.
- Choose Override this template in a project theme.
- Select adminhtml theme.
- Create and verify a new file.
Expected behavior
When calling the override dialog from the frontend folder, only the frontend themes should be listed, when calling the rewrite dialog from the adminhtml folder, only the adminhtml themes should be available. When calling the rewrite dialog from the base folder, all the themes should be available.
Please complete the following information:
- OS: MacOS 11.4
- PhpStorm version: 2021.1.3
- Plugin Version: 3.2.2