Capitalise true/false when checking suspension (#1601)

mine
Gabriel Simmer 2022-06-28 01:00:25 +01:00 committed by GitHub
parent 8e8f874b1e
commit 842c7d2d0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func (c *CronJob) showSuspendDialog(sel string) {
c.App().Flash().Errf("Unable to assert current status")
return
}
suspended := strings.TrimSpace(cell.Text) == "true"
suspended := strings.TrimSpace(cell.Text) == "True"
title := "Suspend"
if suspended {
title = "Resume"