Merge pull request #2505 from sbwalker/dev

fix #2501 - set default Visibility to Same As Page when adding module to a page
This commit is contained in:
Shaun Walker 2022-11-23 10:51:50 -05:00 committed by GitHub
commit 9b68337047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,8 +205,8 @@
<div class="col text-center">
<label for="visibility" class="control-label">@Localizer["Visibility"]</label>
<select class="form-select" @bind="@Visibility">
<option value="edit" selected>@Localizer["VisibilityEdit"]</option>
<option value="view">@Localizer["VisibilityView"]</option>
<option value="edit">@Localizer["VisibilityEdit"]</option>
</select>
</div>
</div>
@ -265,7 +265,7 @@
protected string Title { get; private set; } = "";
protected string ContainerType { get; private set; } = "";
protected string Visibility { get; private set; } = "edit";
protected string Visibility { get; private set; } = "view";
protected string Message { get; private set; } = "";
[Parameter]