Skip to content

Commit

Permalink
Snackbar: add quotes around assignment name
Browse files Browse the repository at this point in the history
  • Loading branch information
psvenk committed Mar 31, 2021
1 parent 3d87a64 commit b058ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ let assignmentsTable = new Tabulator("#assignmentsTable", {
replaceAssignmentFromID(data, {assignment_id: data["assignment_id"], placeholder: true}, selected_class_i);

const undoSnackbar = new Snackbar(
`You deleted ${data["name"]}`, {
`You deleted "${data["name"]}"`, {
color: "var(--red1)",
textColor: "var(--white)",
buttonText: "Undo",
Expand Down

0 comments on commit b058ac2

Please sign in to comment.