Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openfing-core-old
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Santiago Rafael Gonzalez Pereyra
openfing-core-old
Commits
fcbaf1c6
Commit
fcbaf1c6
authored
6 years ago
by
Santiago González
Browse files
Options
Downloads
Patches
Plain Diff
minor changes
parent
554c27ba
No related branches found
No related tags found
No related merge requests found
Pipeline
#3633
failed with stages
in 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/Store.ts
+1
-1
1 addition, 1 deletion
data/Store.ts
models/Course.ts
+1
-5
1 addition, 5 deletions
models/Course.ts
with
2 additions
and
6 deletions
data/Store.ts
+
1
−
1
View file @
fcbaf1c6
...
...
@@ -4,7 +4,7 @@ import { CourseState } from "./CourseState";
import
{
FAQState
}
from
"
./FAQState
"
;
import
{
UpdateState
}
from
"
./UpdateState
"
;
configure
({
enforceActions
:
true
});
configure
({
enforceActions
:
"
observed
"
});
@
action
export
class
Store
{
...
...
This diff is collapsed.
Click to expand it.
models/Course.ts
+
1
−
5
View file @
fcbaf1c6
...
...
@@ -15,16 +15,12 @@ export class Course extends BaseModel {
const
object
=
new
Course
();
assign
(
object
,
super
.
fromJSON
(
json
));
const
imageURL
=
`https://open.fing.edu.uy/Images/iconCourse/
${
json
.
code
}
_image`
;
if
(
!
isNil
(
json
.
classes
))
{
if
(
!
isNil
(
json
.
classes
))
assign
(
object
,
{
classes
:
CourseClass
.
arrayFromJSON
(
json
.
classes
,
object
),
iconURLs
:
this
.
getIconURLsFromCode
(
json
.
code
)
});
}
return
object
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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