mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-05-24 04:08:55 +00:00
Fixed: Speed up UI during refresh
Don't update state if we know items are equal to avoid reselections. Don't pass LastInfoUpdate to frontend to prevent useless updates (the field isn't used)
This commit is contained in:
@@ -20,8 +20,6 @@ namespace Lidarr.Api.V1.Artist
|
||||
|
||||
public bool Ended => Status == ArtistStatusType.Ended;
|
||||
|
||||
public DateTime? LastInfoSync { get; set; }
|
||||
|
||||
public string ArtistName { get; set; }
|
||||
public string ForeignArtistId { get; set; }
|
||||
public string MBId { get; set; }
|
||||
@@ -96,8 +94,6 @@ namespace Lidarr.Api.V1.Artist
|
||||
AlbumFolder = model.AlbumFolder,
|
||||
Monitored = model.Monitored,
|
||||
|
||||
LastInfoSync = model.LastInfoSync,
|
||||
|
||||
CleanName = model.CleanName,
|
||||
ForeignArtistId = model.Metadata.Value.ForeignArtistId,
|
||||
|
||||
@@ -146,7 +142,6 @@ namespace Lidarr.Api.V1.Artist
|
||||
AlbumFolder = resource.AlbumFolder,
|
||||
Monitored = resource.Monitored,
|
||||
|
||||
LastInfoSync = resource.LastInfoSync,
|
||||
CleanName = resource.CleanName,
|
||||
RootFolderPath = resource.RootFolderPath,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user