Skip to content

Commit 770e2f0

Browse files
committed
Allow theme override of non-magento composer themes
fixes #64 This commit adjusts the editable theme filter to only exclued composer themes in `vendor/magento`. All other themes installed via composer will appear in the theme list when using the "Override this template in a project theme" action.
1 parent 7f2b6bb commit 770e2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/magento/idea/magento2plugin/indexes/ModuleIndex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public List<String> getEditableModuleNames() {
5353
}
5454

5555
public List<String> getEditableThemeNames() {
56-
return getThemeNames("/" + Package.vendor + "/|/tests/|/test/", true);
56+
return getThemeNames("/" + Package.vendor + "/magento/|/tests/|/test/", true);
5757
}
5858

5959
public List<String> getModuleNames() {

0 commit comments

Comments
 (0)