Browse Source
Merge pull request #21875 from ejohnson-dotnet/patch-1
Update AbpTabTagHelperService.cs. Fix content-class attributes to use the .Value property
pull/21918/head
maliming
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Tab/AbpTabTagHelperService.cs
|
|
@ -89,7 +89,7 @@ public class AbpTabTagHelperService : AbpTagHelperService<AbpTabTagHelper> |
|
|
var id = TagHelper.Name; |
|
|
var id = TagHelper.Name; |
|
|
var attributes = GetTabContentAttributes(context, output); |
|
|
var attributes = GetTabContentAttributes(context, output); |
|
|
|
|
|
|
|
|
var classAttributesAsString = attributes.Where(a => a.Name == "class").ToList().Select(a => a.Name).JoinAsString(" "); |
|
|
var classAttributesAsString = attributes.Where(a => a.Name == "class").ToList().Select(a => a.Value).JoinAsString(" "); |
|
|
var otherAttributes = attributes.Where(a => a.Name != "class").ToList(); |
|
|
var otherAttributes = attributes.Where(a => a.Name != "class").ToList(); |
|
|
|
|
|
|
|
|
var wrapper = new TagBuilder("div"); |
|
|
var wrapper = new TagBuilder("div"); |
|
|
|