Skip to content

Commit

Permalink
added call to check if mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-dutton committed Oct 26, 2023
1 parent b75276c commit 9552cd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/apps/blazor-app/Components/Dashboard/Appliances.razor
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
<div class="grid grid-cols-2 md:flex gap-4 justify-center">

@{

@* call and await async function *@
Task.Run(async () => await SetNoOfAppliancesInView());
@* Loop over allAppliances *@
if (appliancesLoaded)
{
Expand Down

0 comments on commit 9552cd0

Please sign in to comment.