bug: on the home page a white bar appeared at the bottom of the screen when there was a pending enrolment

This commit is contained in:
Gary Sharp
2026-01-22 15:22:23 +11:00
parent 834d2f8fae
commit 71fa53bfb2
2 changed files with 44 additions and 43 deletions
+7 -7
View File
@@ -145,12 +145,6 @@
@Html.Partial(MVC.Shared.Views._JobTable, Model.StaleJobs, new ViewDataDictionary())
</div>
}
@if (Authorization.Has(Claims.Job.Actions.Export))
{
<div class="actionBar">
@Html.ActionLinkButton("Export Jobs", MVC.Job.Export())
</div>
}
@if (Model.PendingEnrolments != null && Model.PendingEnrolments.Count > 0 && Authorization.Has(Claims.Device.Actions.EnrolDevices))
{
<div id="pendingEnrolments">
@@ -166,4 +160,10 @@
.appendTo(layout_PageHeading);
});
</script>
}
}
@if (Authorization.Has(Claims.Job.Actions.Export))
{
<div class="actionBar">
@Html.ActionLinkButton("Export Jobs", MVC.Job.Export())
</div>
}