Skip to content

Commit

Permalink
Merge pull request #13 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
fix selection bug
  • Loading branch information
Ali-YousefiTelori authored Jan 5, 2024
2 parents 1e86f4d + 48227ac commit 2fad236
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
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.10</Version>
<Version>0.0.0.11</Version>
<Description>TemplateGenerator UI compoents.</Description>
<Copyright>[email protected]</Copyright>
<PackageTags>component,microcomponent,ui,core,templategenerator,generator,template,form,formgenerator</PackageTags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@

void ShowDeleteDialog(FormItemContract formItemContract)
{
viewModel.UpdateFormItemContract = formItemContract;
viewModel.DeleteFormItemContract = formItemContract;
deleteDialog.ShowDialog();
}

Expand All @@ -164,6 +164,6 @@
StateHasChanged();
Snackbar.Add(viewModel.GetLanguage("DeleteForm_Message"), Severity.Success);
};
viewModel.DeleteCommand.Execute(viewModel.UpdateFormItemContract);
viewModel.DeleteCommand.Execute(viewModel.DeleteFormItemContract);
}
}
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.10</Version>
<Version>0.0.0.11</Version>
<Description>TemplateGenerator view model.</Description>
<Copyright>[email protected]</Copyright>
<PackageTags>component,microcomponent,ui,core,templategenerator,generator,template,form,formgenerator</PackageTags>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ public AddOrUpdateFormItemViewModel(NoParentFormItemClient noParentFormItemClien

public Action<FormItemContract> OnDelete { get; set; }

Check warning on line 25 in src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.ViewModels/ViewModels/FormItems/AddOrUpdateFormItemViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateFormItemViewModel.OnDelete'

Check warning on line 25 in src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.ViewModels/ViewModels/FormItems/AddOrUpdateFormItemViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateFormItemViewModel.OnDelete'

Check warning on line 25 in src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.ViewModels/ViewModels/FormItems/AddOrUpdateFormItemViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateFormItemViewModel.OnDelete'
public Action<FormItemContract> OnSuccess { get; set; }

Check warning on line 26 in src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.ViewModels/ViewModels/FormItems/AddOrUpdateFormItemViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateFormItemViewModel.OnSuccess'

Check warning on line 26 in src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.ViewModels/ViewModels/FormItems/AddOrUpdateFormItemViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateFormItemViewModel.OnSuccess'

Check warning on line 26 in src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.ViewModels/ViewModels/FormItems/AddOrUpdateFormItemViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateFormItemViewModel.OnSuccess'
public FormItemContract DeleteFormItemContract { get; set; }

Check warning on line 27 in src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.ViewModels/ViewModels/FormItems/AddOrUpdateFormItemViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateFormItemViewModel.DeleteFormItemContract'

Check warning on line 27 in src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.ViewModels/ViewModels/FormItems/AddOrUpdateFormItemViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateFormItemViewModel.DeleteFormItemContract'

Check warning on line 27 in src/CSharp/Cores/EasyMicroservices.UI.TemplateGenerator.ViewModels/ViewModels/FormItems/AddOrUpdateFormItemViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateFormItemViewModel.DeleteFormItemContract'


FormItemContract _UpdateFormItemContract;
/// <summary>
/// for update
Expand Down

0 comments on commit 2fad236

Please sign in to comment.