Skip to content
Snippets Groups Projects
Commit c5ca99c2 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

fix typo that was preventing description from saving on cards (fixes #2151)

parent ccc054ec
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ export default class SaveQuestionModal extends Component {
card.name = details.name.trim();
// since description is optional, it can be null, so check for a description before trimming it
card.details = details.description ? details.description.trim() : null;
card.description = details.description ? details.description.trim() : null;
card.public_perms = 2; // public read/write
if (details.saveType === "create") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment