Compare commits
No commits in common. "04b55564343fdbbefc6396006c811fe31ed1b029" and "95933933b8e0d50c72a92fa907f1667ad27c230a" have entirely different histories.
04b5556434
...
95933933b8
|
|
@ -8,7 +8,6 @@ public static class FruitBankConstClient
|
||||||
public static string DefaultLocale = "en-US";
|
public static string DefaultLocale = "en-US";
|
||||||
|
|
||||||
public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop
|
public static string BaseUrl = "https://localhost:59579"; //FrutiBank nop
|
||||||
//public static string BaseUrl = "https://shop.fruitbank.hu"; //FrutiBank nop
|
|
||||||
//public static string BaseUrl = "http://10.0.2.2:59579"; //FrutiBank (android) nop
|
//public static string BaseUrl = "http://10.0.2.2:59579"; //FrutiBank (android) nop
|
||||||
//public static string BaseUrl = "https://localhost:7144"; //HybridApp
|
//public static string BaseUrl = "https://localhost:7144"; //HybridApp
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,11 +13,7 @@ public partial class MainLayout : LayoutComponentBase
|
||||||
|
|
||||||
protected override void OnInitialized()
|
protected override void OnInitialized()
|
||||||
{
|
{
|
||||||
var loginUri = NavManager.ToAbsoluteUri("/Login").ToString();
|
if (!LoggedInModel.IsLoggedIn) NavManager.NavigateTo("/Login");
|
||||||
if (!LoggedInModel.IsLoggedIn && NavManager.Uri != loginUri)
|
|
||||||
{
|
|
||||||
NavManager.NavigateTo("/Login");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnLogoutClick()
|
private void OnLogoutClick()
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<div class="top-row ps-3 navbar navbar-dark">
|
<div class="top-row ps-3 navbar navbar-dark">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<a class="navbar-brand" href="">FruitBank</a>
|
<a class="navbar-brand" href="">FruitBank Measuring</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"version": 1,
|
|
||||||
"isRoot": true,
|
|
||||||
"tools": {
|
|
||||||
"dotnet-ef": {
|
|
||||||
"version": "9.0.10",
|
|
||||||
"commands": [
|
|
||||||
"dotnet-ef"
|
|
||||||
],
|
|
||||||
"rollForward": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue