Skip to content

Commit 10d8da7

Browse files
committed
Minor changes
1 parent 4593f8b commit 10d8da7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Presentation/SmartStore.Web/Administration/Views/Theme/List.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
</td>
231231
</tr>
232232
<tr>
233-
<td colspan="2">
233+
<td colspan="2" class="adminSeparator">
234234
<hr />
235235
</td>
236236
</tr>

src/Presentation/SmartStore.Web/Controllers/CommonController.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,9 +1119,10 @@ orderby grp.Key
11191119
{
11201120
item.Disable = (x.ProductTypeId != (int)ProductType.SimpleProduct);
11211121
}
1122-
else
1122+
1123+
if (!item.Disable && disableIds.Contains(x.Id))
11231124
{
1124-
item.Disable = disableIds.Contains(x.Id);
1125+
item.Disable = true;
11251126
}
11261127

11271128
if (x.ProductTypeId == (int)ProductType.GroupedProduct)

0 commit comments

Comments
 (0)