Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9c55c41d
authored
Jun 25, 2019
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
solving problem with picto expressions (issue
#478
)
parent
154e0e3c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sails/src/api/models/Grid.js
sails/src/api/models/Grid.js
View file @
9c55c41d
...
...
@@ -90,7 +90,7 @@ module.exports = {
.
then
((
picto
)
=>
{
// check picto has expressions associated manually or associated in student language
if
(
!
p
icto
.
attributes
.
expression
&
(
picto
.
expressions
.
length
==
0
||
picto
.
expressions
[
0
].
text
.
length
==
0
))
if
(
!
stuP
icto
.
attributes
.
expression
&
(
picto
.
expressions
.
length
==
0
||
picto
.
expressions
[
0
].
text
.
length
==
0
))
stuPicto
.
attributes
.
expression
=
sails
.
__
({
phrase
:
'undef_label'
,
locale
:
student
.
lang
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment