diff --git a/src/PowderCoating.Web/Controllers/DashboardController.cs b/src/PowderCoating.Web/Controllers/DashboardController.cs index 7faab93..e450755 100644 --- a/src/PowderCoating.Web/Controllers/DashboardController.cs +++ b/src/PowderCoating.Web/Controllers/DashboardController.cs @@ -368,6 +368,9 @@ public class DashboardController : Controller ViewBag.GuidedActivationBanner = BuildGuidedActivationBanner(companyPrefs); ViewBag.ShopProgressWidget = await BuildShopProgressWidgetAsync(currentCompanyId.Value, companyPrefs); + + var companyForKiosk = await _unitOfWork.Companies.GetByIdAsync(currentCompanyId.Value); + ViewBag.KioskActivated = !string.IsNullOrEmpty(companyForKiosk?.KioskActivationToken); } return View(vm); diff --git a/src/PowderCoating.Web/Views/Dashboard/Index.cshtml b/src/PowderCoating.Web/Views/Dashboard/Index.cshtml index 9964970..41fa7c6 100644 --- a/src/PowderCoating.Web/Views/Dashboard/Index.cshtml +++ b/src/PowderCoating.Web/Views/Dashboard/Index.cshtml @@ -33,13 +33,16 @@