fix #4150 - remove Add Existing Module option when managing personalized pages
This commit is contained in:
parent
b815d945d9
commit
430e616328
@ -95,7 +95,10 @@
|
|||||||
<label for="Module" class="control-label">@Localizer["Module.Manage"]</label>
|
<label for="Module" class="control-label">@Localizer["Module.Manage"]</label>
|
||||||
<select class="form-select" @bind="@_moduleType">
|
<select class="form-select" @bind="@_moduleType">
|
||||||
<option value="new">@Localizer["Module.AddNew"]</option>
|
<option value="new">@Localizer["Module.AddNew"]</option>
|
||||||
<option value="existing">@Localizer["Module.AddExisting"]</option>
|
@if (PageState.Page.UserId == null)
|
||||||
|
{
|
||||||
|
<option value="existing">@Localizer["Module.AddExisting"]</option>
|
||||||
|
}
|
||||||
</select>
|
</select>
|
||||||
@if (_moduleType == "new")
|
@if (_moduleType == "new")
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user