mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
Resurrects soft deleted themes when they are reinstalled
This commit is contained in:
1 parent
6bb3449d4f
commit
88db2e0801
1 file changed
+2
-1
+2
-1
@@ -103,7 +103,8 @@ public class InstallThemeCommandHandler : ICommandHandler<InstallThemeCommand, R
|
||||
PreviewPath = manifest.Preview,
|
||||
InstallSource = existingTheme.InstallSource,
|
||||
IsCurrent = existingTheme.IsCurrent,
|
||||
IsDeleted = existingTheme.IsDeleted,
|
||||
// reinstalling a theme must bring it back even if it was soft deleted before, so the uploaded pack becomes visible again
|
||||
IsDeleted = false,
|
||||
InstalledAtUtc = DateTime.UtcNow,
|
||||
CreatedOnUtc = existingTheme.CreatedOnUtc,
|
||||
CreatedBy = existingTheme.CreatedBy,
|
||||
|
||||
Reference in new issue
Block a user