diff --git a/framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor b/framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor
index 9bd07ce7da..d913647264 100644
--- a/framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor
+++ b/framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor
@@ -17,7 +17,8 @@
Disabled=@Disabled>
@if(!string.IsNullOrEmpty(Icon))
{
-
+ var iconClass = Text.IsNullOrEmpty() ? "" : "me-1";
+
}
@Text