We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e7b41 commit ec592c3Copy full SHA for ec592c3
DigitalLearningSolutions.Web/Views/Frameworks/Developer/Framework.cshtml
@@ -44,7 +44,7 @@
44
</div>
45
<div class="nhsuk-grid-column-one-third">
46
@*<a class="nhsuk-button nhsuk-button--secondary">Preview</a>*@
47
- @if (Model.DetailFramework.UserRole > 1)
+ @if ((Model.FrameworkCompetencyGroups?.Any() == true || Model.FrameworkCompetencies?.Any() == true) && Model.DetailFramework.UserRole > 1)
48
{
49
if (Model.DetailFramework.PublishStatusID == 2)
50
0 commit comments