Fix json conf anta singola/doppia (preview errata x nome sbagliato)
This commit is contained in:
@@ -69,11 +69,10 @@ namespace Test.UI.Components.Pages
|
||||
string rawVal = File.ReadAllText(cFile);
|
||||
var rawList = JsonConvert.DeserializeObject<List<TemplateSelectDTO>>(rawVal) ?? new List<TemplateSelectDTO>();
|
||||
|
||||
// calcolo URL immagini... DTO da rivedere...
|
||||
// calcolo URL immagini... DTO interno da rivedere?
|
||||
foreach (var item in rawList)
|
||||
{
|
||||
item.ImageUrl = ImgService.ImageUrl(imgBasePath, false, item.SVGFileName);
|
||||
//item.ImageUrl = $"{imgBasePath}{imgTag}/{item.SVGFileName}";
|
||||
AvailTemplateList.Add(item);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
"Index": 1,
|
||||
"Description": "Anta singola",
|
||||
"SVGFileName": "AntaDoppia.svg",
|
||||
"SVGFileName": "AntaSingola.svg",
|
||||
"JwdFileName": "Data/AntaSingola.jwd"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user