Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
verona-modules-aspect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
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
IQB
verona-modules-aspect
Commits
c0aa3715
Commit
c0aa3715
authored
3 years ago
by
jojohoch
Browse files
Options
Downloads
Patches
Plain Diff
[player] Set status of element when its value changes
parent
1e70139a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
projects/player/src/app/components/unit-state/unit-state.component.ts
+1
-0
1 addition, 0 deletions
...yer/src/app/components/unit-state/unit-state.component.ts
with
1 addition
and
0 deletions
projects/player/src/app/components/unit-state/unit-state.component.ts
+
1
−
0
View file @
c0aa3715
...
@@ -126,6 +126,7 @@ export class UnitStateComponent implements OnInit, OnDestroy {
...
@@ -126,6 +126,7 @@ export class UnitStateComponent implements OnInit, OnDestroy {
private
onElementValueChanges
=
(
value
:
ValueChangeElement
):
void
=>
{
private
onElementValueChanges
=
(
value
:
ValueChangeElement
):
void
=>
{
// eslint-disable-next-line no-console
// eslint-disable-next-line no-console
console
.
log
(
`player: onElementValueChanges
${
value
.
id
}
: old:
${
value
.
values
[
0
]}
, new:
${
value
.
values
[
1
]}
`
);
console
.
log
(
`player: onElementValueChanges
${
value
.
id
}
: old:
${
value
.
values
[
0
]}
, new:
${
value
.
values
[
1
]}
`
);
this
.
setUnitStateElementCodeStatus
(
value
.
id
,
'
VALUE_CHANGED
'
);
this
.
setUnitStateElementCodeValue
(
value
.
id
,
value
.
values
[
1
]);
this
.
setUnitStateElementCodeValue
(
value
.
id
,
value
.
values
[
1
]);
};
};
...
...
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