Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nghyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cassiopée
nghyd
Commits
4d81f6a7
Commit
4d81f6a7
authored
1 year ago
by
AUBRY JEAN-PASCAL
Browse files
Options
Downloads
Patches
Plain Diff
fix: convert pab table values in number when they are type of string
Refs
#652
parent
8c52cadb
No related branches found
No related tags found
2 merge requests
!252
release: version 4.18.0
,
!249
Resolve "PAB: Erreur d'abscisses sur le profil en long"
Pipeline
#162767
passed
1 year ago
Stage: install
Stage: build
Stage: clean-stale-branches
Stage: deploy-dev
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/components/pab-table/pab-table.component.ts
+3
-0
3 additions, 0 deletions
src/app/components/pab-table/pab-table.component.ts
with
3 additions
and
0 deletions
src/app/components/pab-table/pab-table.component.ts
+
3
−
0
View file @
4d81f6a7
...
...
@@ -1385,6 +1385,9 @@ export class PabTableComponent implements AfterViewInit, AfterViewChecked, OnIni
}
public
getCellValue
(
cell
)
{
if
(
typeof
cell
.
model
.
singleValue
===
"
string
"
)
{
cell
.
model
.
singleValue
=
+
cell
.
model
.
singleValue
;
}
return
round
(
cell
.
model
.
singleValue
,
this
.
nDigits
);
}
...
...
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