Skip to content

Commit

Permalink
Merge pull request #1629 from pkuehnel/fix/mudExpansionPanels
Browse files Browse the repository at this point in the history
fix(chore): use ExpandedChanged as is braking change
  • Loading branch information
pkuehnel authored Nov 16, 2024
2 parents e169311 + 372a8df commit 0cc8baf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TeslaSolarCharger/Client/Components/BackupComponent.razor
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</MudButton>

<MudExpansionPanels>
<MudExpansionPanel Text="Automatically created backups before each update" IsExpandedChanged="RefreshBackups">
<MudExpansionPanel Text="Automatically created backups before each update" ExpandedChanged="RefreshBackups">
<MudDataGrid Items="_backupFiles">
<Columns>
<PropertyColumn Property="x => x.FileName"></PropertyColumn>
Expand Down
2 changes: 1 addition & 1 deletion TeslaSolarCharger/Client/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ else
}

<MudExpansionPanels>
<MudExpansionPanel Text="More car details:" IsExpandedChanged="(state) => OnCollapseChanged(state, car.CarId)">
<MudExpansionPanel Text="More car details:" ExpandedChanged="(state) => OnCollapseChanged(state, car.CarId)">
@if (_newCarDetailStates.Any(c => c.Key == car.CarId))
{
<TableComponent Content="@_newCarDetailStates[car.CarId]"></TableComponent>
Expand Down

0 comments on commit 0cc8baf

Please sign in to comment.