Adding MudBlazor UI with new Nav

This commit is contained in:
2022-08-27 21:46:52 -04:00
parent a00af60fa4
commit 404db2b862
18 changed files with 128 additions and 74 deletions
+4 -4
View File
@@ -3,7 +3,7 @@
@inject IPermissionService PermissionService
@layout PageLayout
@inject IDialogService DialogService
@inject IMyDialogService MyDialogService
@inherits BasePage
@using Services.Website
@@ -96,17 +96,17 @@
void OnDataCollectionConfirmClicked(MouseEventArgs mouseEventArgs)
{
PermissionService.SetIsDataCollectionEnabled(!PermissionService.GetIsDataCollectionEnabled());
DialogService.Hide();
MyDialogService.Hide();
}
void OnDataCollectionCancelClicked(MouseEventArgs mouseEventArgs)
{
DialogService.Hide();
MyDialogService.Hide();
}
if (_storageEnabled && !PermissionService.GetIsDataCollectionEnabled())
{
DialogService.Show(new DialogContents
MyDialogService.Show(new DialogContents
{
Title = "Permission Request",
Message = "Are you sure you want to enable data collection? This feature is implemented with Google Analytics, and your data will be used to gauge interests, find bugs, and optimize updates in IGP Fan Reference.",