GitLab wurde aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Vielen Dank für Ihre Geduld.

Commit 899d6a17 authored by Curtis Adam's avatar Curtis Adam
Browse files

Fix a console error related to the card settings modal

parent ca040483
......@@ -14,7 +14,7 @@ import "./settings.html";
getText: function () {
if (Route.isDemo() || Cardsets.findOne({_id: Router.current().params._id}).shuffled) {
if (Route.isDemo() || ((Route.isBox() || Route.isMemo()) && Cardsets.findOne({_id: Router.current().params._id}).shuffled)) {
if (Route.isDemo()) {
CardType.gotCardTypesWithSwapAnswerQuestionButton(Cardsets.findOne({name: "DemoCardset", shuffled: true})._id);
} else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment