Don't show ETA in deploy embeds if there isn't one

This commit is contained in:
Jordan Brown
2020-06-12 15:02:56 -04:00
parent ccf5e4a8d4
commit 01826087e6
@@ -337,7 +337,7 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
Title = "Code Deployment",
Footer = new EmbedFooterBuilder
{
Text = "In progress... ETA"
Text = $"In progress...{(estimatedCompletionTime.HasValue ? " ETA" : String.Empty)}"
},
Timestamp = estimatedCompletionTime
};