1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-27 22:34:54 -05:00

await partial async

This commit is contained in:
Kyle Spearrin 2018-08-06 22:40:44 -04:00
parent 1fb26eb90e
commit 222d5b2f9d
4 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@
<h1>Organization <small>@Model.Organization.Name</small></h1>
<h2>Information</h2>
@Html.PartialAsync("_ViewInformation", Model)
@await Html.PartialAsync("_ViewInformation", Model)
<form method="post" id="edit-form">
<h2>General</h2>
<div class="row">

View File

@ -6,7 +6,7 @@
<h1>Organization <small>@Model.Organization.Name</small></h1>
<h2>Information</h2>
@Html.PartialAsync("_ViewInformation", Model)
@await Html.PartialAsync("_ViewInformation", Model)
<form asp-action="Delete" asp-route-id="@Model.Organization.Id"
onsubmit="return confirm('Are you sure you want to delete this organization (@Model.Organization.Name)?')">
<button class="btn btn-danger" type="submit">Delete</button>

View File

@ -57,7 +57,7 @@
<h1>User <small>@Model.User.Email</small></h1>
<h2>Information</h2>
@Html.PartialAsync("_ViewInformation", Model)
@await Html.PartialAsync("_ViewInformation", Model)
<form method="post" id="edit-form">
<h2>General</h2>
<div class="row">

View File

@ -6,7 +6,7 @@
<h1>User <small>@Model.User.Email</small></h1>
<h2>Information</h2>
@Html.PartialAsync("_ViewInformation", Model)
@await Html.PartialAsync("_ViewInformation", Model)
<form asp-action="Delete" asp-route-id="@Model.User.Id"
onsubmit="return confirm('Are you sure you want to delete this user (@Model.User.Email)?')">
<button class="btn btn-danger" type="submit">Delete</button>