mirror of
https://github.com/bitwarden/server.git
synced 2024-11-28 13:15:12 +01:00
Resolved razor syntax error by updating expression to be explicit instead of implicit (#4094)
This commit is contained in:
parent
e619508f3f
commit
7d65d8dd4f
@ -109,7 +109,7 @@
|
|||||||
<option asp-selected="Model.Filter.Price == null" value="@null">All</option>
|
<option asp-selected="Model.Filter.Price == null" value="@null">All</option>
|
||||||
@foreach (var price in Model.Prices)
|
@foreach (var price in Model.Prices)
|
||||||
{
|
{
|
||||||
<option asp-selected='@Model.Filter.Price == @price.Id' value="@price.Id">@price.Id</option>
|
<option asp-selected='@(Model.Filter.Price == price.Id)' value="@price.Id">@price.Id</option>
|
||||||
}
|
}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
@ -119,7 +119,7 @@
|
|||||||
<option asp-selected="Model.Filter.TestClock == null" value="@null">All</option>
|
<option asp-selected="Model.Filter.TestClock == null" value="@null">All</option>
|
||||||
@foreach (var clock in Model.TestClocks)
|
@foreach (var clock in Model.TestClocks)
|
||||||
{
|
{
|
||||||
<option asp-selected='@Model.Filter.TestClock == @clock.Id' value="@clock.Id">@clock.Name</option>
|
<option asp-selected='@(Model.Filter.TestClock == clock.Id)' value="@clock.Id">@clock.Name</option>
|
||||||
}
|
}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
@ -278,4 +278,4 @@
|
|||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</nav>
|
</nav>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user