diff --git a/TIAMResources/TIAMResources.Designer.cs b/TIAMResources/TIAMResources.Designer.cs
index 1d32329c..a1080ab0 100644
--- a/TIAMResources/TIAMResources.Designer.cs
+++ b/TIAMResources/TIAMResources.Designer.cs
@@ -339,6 +339,24 @@ namespace TIAM.Resources {
}
}
+ ///
Loading...
+ //Loading...
} else { @@ -28,7 +27,6 @@ } } -Loading.... @code { @@ -57,7 +55,7 @@ Loading.... logToBrowserConsole = new LogToBrowserConsole(JSRuntime); //wait for 5 seconds - await Task.Delay(1000); + //await Task.Delay(1000); if (!string.IsNullOrWhiteSpace(userDetailsStr)) { diff --git a/TIAMSharedUI/Pages/Components/AuthComponent.razor.cs b/TIAMSharedUI/Pages/Components/AuthComponent.razor.cs index df029ad0..9b1452c3 100644 --- a/TIAMSharedUI/Pages/Components/AuthComponent.razor.cs +++ b/TIAMSharedUI/Pages/Components/AuthComponent.razor.cs @@ -20,13 +20,13 @@ namespace TIAMSharedUI.Pages.Components [CascadingParameter] private PopupMessageBox PopupMessageBox { get; set; } = default!; - public bool IsVisible = true; + public bool IsVisible = false; protected override async Task OnInitializedAsync() { await base.OnInitializedAsync(); IsLoggedIn = sessionService.IsAuthenticated; - await PopupMessageBox.ShowAsync("AuthComponent", "Initialized", null, null, null, PopupMessageBox.ButtonOk); + //await PopupMessageBox.ShowAsync("AuthComponent", "Initialized", null, null, null, PopupMessageBox.ButtonOk); //if (await PopupMessageBox.Show("Cancel", "Cancel this stuff", //PopupMessageBox.ButtonNo, PopupMessageBox.ButtonYes) == PopupMessageBox.ButtonNo) diff --git a/TIAMSharedUI/Pages/Index.razor b/TIAMSharedUI/Pages/Index.razor index ac23d498..66667f38 100644 --- a/TIAMSharedUI/Pages/Index.razor +++ b/TIAMSharedUI/Pages/Index.razor @@ -117,6 +117,8 @@ public async Task SubmitForm(object Result) { + + var transfer = await WizardProcessor.ProcessWizardAsync@destination.AddressString
+Please type an address or swipe to select from preset destinations!
@@ -222,10 +239,10 @@ { if(firstRender) { - var dotNetObjRef = DotNetObjectReference.Create(this); - JSRuntime.InvokeVoidAsync("setOwlId", OwlId); - JSRuntime.InvokeVoidAsync("InitOwl", OwlId); - JSRuntime.InvokeVoidAsync("CStoJSCall", dotNetObjRef); + // var dotNetObjRef = DotNetObjectReference.Create(this); + // JSRuntime.InvokeVoidAsync("setOwlId", OwlId); + // JSRuntime.InvokeVoidAsync("InitOwl", OwlId); + // JSRuntime.InvokeVoidAsync("CStoJSCall", dotNetObjRef); } @@ -277,7 +294,15 @@ { Destinations = await TransferDataService.GetDestinationsAsync(); Content = TextValue; + InitOwl(); } + private void InitOwl() + { + var dotNetObjRef = DotNetObjectReference.Create(this); + JSRuntime.InvokeVoidAsync("setOwlId", OwlId); + JSRuntime.InvokeVoidAsync("InitOwl", OwlId); + JSRuntime.InvokeVoidAsync("CStoJSCall", dotNetObjRef); + } } diff --git a/TIAMSharedUI/Shared/Users/AdminNavMenu.razor b/TIAMSharedUI/Shared/Users/AdminNavMenu.razor index 2ea7d92c..0be24562 100644 --- a/TIAMSharedUI/Shared/Users/AdminNavMenu.razor +++ b/TIAMSharedUI/Shared/Users/AdminNavMenu.razor @@ -48,12 +48,6 @@ - - +