show a warning when a device profile OU couuld not be found

This commit is contained in:
Gary Sharp
2023-11-24 12:58:12 +11:00
parent b576aec641
commit 974a07f3bb
5 changed files with 158 additions and 91 deletions
@@ -690,6 +690,14 @@
</span>
</div>
}
@if (!Model.OrganisationalUnitExists)
{
<div class="info-box error">
<p class="fa-p">
<i class="fa fa-exclamation-triangle"></i>The Organisational Unit could not be found.
</p>
</div>
}
<div style="margin-top: 8px;">
@if (canConfig)
{