fix path replacements page with mysql (#1521)

This commit is contained in:
Jason Dove
2023-12-11 17:54:15 -06:00
committed by GitHub
parent 8fc1f36638
commit 3d3bb64844
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Fixed
- Fix error loading path replacements when using MySql
- Fix tray icon shortcut to open logs folder on Windows
## [0.8.4-beta] - 2023-12-02
### Fixed
@@ -8,7 +8,7 @@
<MudContainer MaxWidth="MaxWidth.ExtraLarge" Class="pt-8">
<MudTable Hover="true" Items="_pathReplacements.OrderBy(r => r.Id)" Dense="true" @bind-SelectedItem="_selectedItem">
<ToolBarContent>
<MudText Typo="Typo.h6"><b>@_source.Name</b> Path Replacements</MudText>
<MudText Typo="Typo.h6"><b>@_source?.Name</b> Path Replacements</MudText>
</ToolBarContent>
<ColGroup>
<col/>
@@ -87,7 +87,7 @@
public Func<List<RemoteMediaSourcePathReplacementEditViewModel>, IRequest<Either<BaseError, Unit>>> GetUpdatePathReplacementsRequest { get; set; }
private RemoteMediaSourceViewModel _source;
private List<RemoteMediaSourcePathReplacementEditViewModel> _pathReplacements;
private List<RemoteMediaSourcePathReplacementEditViewModel> _pathReplacements = new();
private RemoteMediaSourcePathReplacementEditViewModel _selectedItem;