Resurrects soft deleted themes when they are reinstalled

This commit is contained in:
BinaryAlley committed 2026-08-21 01:49:29 -07:00
1 parent 6bb3449d4f
commit 88db2e0801
1 file changed
+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,