Merge pull request #4157 from sbwalker/dev

fix #4150 - remove Add Existing Module option when managing personalized pages
This commit is contained in:
Shaun Walker 2024-04-18 18:43:43 -04:00 committed by GitHub
commit d520c3d674
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,7 +95,10 @@
<label for="Module" class="control-label">@Localizer["Module.Manage"]</label>
<select class="form-select" @bind="@_moduleType">
<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>
@if (_moduleType == "new")
{