Skip to content

Commit

Permalink
fix inheritance error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-YousefiTelori committed Dec 27, 2023
1 parent be00732 commit ea336e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@using EasyMicroservices.UI.Cores
@using MudBlazor
@inject BaseViewModel viewModel;
@inject DialogBaseViewModel viewModel;
@* Class="@DialogClass" *@
<MudRTLProvider RightToLeft="BaseViewModel.IsRightToLeft">
<MudRTLProvider RightToLeft="DialogBaseViewModel.IsRightToLeft">
<MudDialog @ref="dialog" @bind-IsVisible="IsShowDialog">
<TitleContent>
@TitleContent
Expand All @@ -23,7 +23,7 @@
</style>

@code {
public BaseViewModel ViewModel
public DialogBaseViewModel ViewModel
{
get
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
using EasyMicroservices.UI.Cores;

namespace EasyMicroservices.UI.BlazorComponents;
public class DialogBaseViewModel : BaseViewModel
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Authors>EasyMicroservices</Authors>
<IsPackable>true</IsPackable>
<Version>0.0.0.1</Version>
<Version>0.0.0.2</Version>
<Description>Core UI compoents.</Description>
<Copyright>[email protected]</Copyright>
<PackageTags>component,microcomponent,ui,core</PackageTags>
Expand Down

0 comments on commit ea336e8

Please sign in to comment.