Skip to content

Commit

Permalink
Merge pull request #18791 from abpframework/salihozkara/fixDocs
Browse files Browse the repository at this point in the history
Docs: Fix script bundle problem.
  • Loading branch information
EngincanV committed Jan 18, 2024
2 parents 8ed4ee5 + 51f3404 commit 8a8d28a
Showing 1 changed file with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@
}

@section scripts {
<abp-script-bundle name="@typeof(IndexModel).FullName">
@if (Model.LoadSuccess)
{

@if (Model.LoadSuccess)
{
<abp-script-bundle name="@typeof(IndexModel).FullName">
<abp-script type="@typeof(MalihuCustomScrollbarPluginScriptBundleContributor)"/>
<abp-script type="@typeof(ClipboardScriptBundleContributor)"/>
<abp-script type="@typeof(AnchorJsScriptBundleContributor)"/>
Expand All @@ -48,13 +49,14 @@
<abp-script src="/Pages/Documents/Project/bootstrap-toc.js"/>
<abp-script src="/Pages/Documents/Shared/Scripts/vs.js"/>
<abp-script src="/Pages/Documents/Project/index.js"/>
}
else
{
</abp-script-bundle>
}
else
{
<abp-script-bundle name="@typeof(ErrorViewComponent).FullName">
<abp-script src="/Pages/Documents/Shared/ErrorComponent/error.js"/>
}

</abp-script-bundle>
</abp-script-bundle>
}
}

@if (Model.LoadSuccess)
Expand Down

0 comments on commit 8a8d28a

Please sign in to comment.