diff --git a/Marechai/Marechai.csproj b/Marechai/Marechai.csproj index 40f70650..f4446160 100644 --- a/Marechai/Marechai.csproj +++ b/Marechai/Marechai.csproj @@ -2,7 +2,7 @@ netcoreapp3.1 - 4.0.0.1557 + 4.0.0.1569 Canary Islands Computer Museum Copyright © 2003-2020 Natalia Portillo Canary Islands Computer Museum Website diff --git a/Marechai/Pages/Companies/View.razor b/Marechai/Pages/Companies/View.razor index f89470a5..d0ed2363 100644 --- a/Marechai/Pages/Companies/View.razor +++ b/Marechai/Pages/Companies/View.razor @@ -122,21 +122,28 @@ @L["Country"] - - @if (File.Exists(Path.Combine(Host.WebRootPath, "assets/flags/countries", _company.CountryId + ".svg"))) - { - - - + @if (File.Exists(Path.Combine(Host.WebRootPath, "assets/flags/countries", _company.CountryId + ".svg"))) + { + + + - - - } - @L[_company.Country] - + + } + @L[_company.Country] + + } + else + { + @L["Unknown (country)"] + } diff --git a/codealike.json b/codealike.json index ea20eadf..4cd89ae1 100644 --- a/codealike.json +++ b/codealike.json @@ -1 +1 @@ -{"projectId":"db06ff35-f00a-4492-a887-0e2c62d6c2ba","projectName":"Marechai"} \ No newline at end of file +{"projectId":"db06ff35-f00a-4492-a887-0e2c62d6c2ba","projectName":"Marechai","neverTrack":false} \ No newline at end of file