Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cards
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Philipp Helfenritter
cards
Commits
899d6a17
Commit
899d6a17
authored
6 years ago
by
Curtis Adam
Browse files
Options
Downloads
Patches
Plain Diff
Fix a console error related to the card settings modal
parent
ca040483
Branches
Branches containing commit
Tags
v.3.6
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
imports/ui/card/modal/settings.js
+1
-1
1 addition, 1 deletion
imports/ui/card/modal/settings.js
with
1 addition
and
1 deletion
imports/ui/card/modal/settings.js
+
1
−
1
View file @
899d6a17
...
...
@@ -14,7 +14,7 @@ import "./settings.html";
Template
.
cardSettingsModal
.
helpers
({
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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment