Победа

This commit is contained in:
GokaPek 2024-11-25 20:04:30 +04:00
parent 7ac053add7
commit 262360562e

View File

@ -64,7 +64,7 @@ namespace PluginsConvention14.MyPlugin
public PluginsConventionElement GetElement()
{
var product = оutputTableResults.GetSelectedObject<MainPluginConventionElement>(); ;
var product = оutputTableResults.GetSelectedObject<Product>();
MainPluginConventionElement element = null;
if (оutputTableResults != null)
{
@ -73,7 +73,7 @@ namespace PluginsConvention14.MyPlugin
Id = product.Id,
Name = product.Name,
ManufacturerName = product.ManufacturerName,
DeliveryDate = product.DeliveryDate,
DeliveryDate = product.DeliveryDate.ToString(),
};
}
return (new PluginsConventionElement { Id = element.Id });