Skip to content

Commit

Permalink
Give "changes saved" message when saving ban template.
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 committed Jun 23, 2024
1 parent aa39bbf commit f0fd2c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SS14.Admin/Pages/Bans/BanTemplates/View.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ public async Task<IActionResult> OnPostEditAsync(int id)

await dbContext.SaveChangesAsync();

TempData.SetStatusInformation("Changes saved");

return RedirectToPage(new { id });
}
}

0 comments on commit f0fd2c4

Please sign in to comment.