Merge pull request #869 from sbwalker/master
Module Creator should only include Framework References for 2.0.0 and above
This commit is contained in:
commit
2d344975ff
@ -1,4 +1,4 @@
|
|||||||
@namespace Oqtane.Modules.Admin.ModuleCreator
|
@namespace Oqtane.Modules.Admin.ModuleCreator
|
||||||
@inherits ModuleBase
|
@inherits ModuleBase
|
||||||
@inject NavigationManager NavigationManager
|
@inject NavigationManager NavigationManager
|
||||||
@inject IModuleDefinitionService ModuleDefinitionService
|
@inject IModuleDefinitionService ModuleDefinitionService
|
||||||
@ -49,10 +49,13 @@
|
|||||||
<td>
|
<td>
|
||||||
<select id="reference" class="form-control" @bind="@_reference">
|
<select id="reference" class="form-control" @bind="@_reference">
|
||||||
@foreach (string version in Constants.ReleaseVersions.Split(','))
|
@foreach (string version in Constants.ReleaseVersions.Split(','))
|
||||||
|
{
|
||||||
|
if (Version.Parse(version).CompareTo(Version.Parse("2.0.0")) >= 0)
|
||||||
{
|
{
|
||||||
<option value="@(version)">@(version)</option>
|
<option value="@(version)">@(version)</option>
|
||||||
}
|
}
|
||||||
<option value="local">Local</option>
|
}
|
||||||
|
<option value="local">Local Version</option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Reference in New Issue
Block a user