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
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
Cassiopée
nghyd
Commits
4bf12f1c
Commit
4bf12f1c
authored
5 years ago
by
mathias.chouet
Browse files
Options
Downloads
Patches
Plain Diff
Correction bug: les entêtes de résultats de PAB s'affichaient sur tous les modules
parent
e2f4144a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/components/pab-results/pab-results-table.component.ts
+2
-2
2 additions, 2 deletions
...app/components/pab-results/pab-results-table.component.ts
src/app/components/pab-results/pab-results.component.ts
+1
-1
1 addition, 1 deletion
src/app/components/pab-results/pab-results.component.ts
with
3 additions
and
3 deletions
src/app/components/pab-results/pab-results-table.component.ts
+
2
−
2
View file @
4bf12f1c
...
...
@@ -53,7 +53,7 @@ export class PabResultsTableComponent {
];
this
.
_dataSet
=
[];
if
(
this
.
_pabResults
)
{
if
(
this
.
_pabResults
&&
this
.
_pabResults
.
cloisonsResults
&&
this
.
_pabResults
.
cloisonsResults
.
length
>
0
)
{
const
pr
=
this
.
_pabResults
;
const
nDigits
=
this
.
appSetupService
.
displayDigits
;
// line 1
...
...
@@ -150,6 +150,6 @@ export class PabResultsTableComponent {
const
wb
:
XLSX
.
WorkBook
=
XLSX
.
utils
.
book_new
();
XLSX
.
utils
.
book_append_sheet
(
wb
,
ws
,
"
default
"
);
// save and download
XLSX
.
writeFile
(
wb
,
"
Variable
Results.xlsx
"
);
XLSX
.
writeFile
(
wb
,
"
PAB
Results.xlsx
"
);
}
}
This diff is collapsed.
Click to expand it.
src/app/components/pab-results/pab-results.component.ts
+
1
−
1
View file @
4bf12f1c
...
...
@@ -35,7 +35,7 @@ export class PabResultsComponent implements DoCheck {
)
{
}
public
set
results
(
rs
:
CalculatorResults
[])
{
if
(
rs
.
length
>
0
)
{
if
(
rs
.
length
>
0
&&
rs
[
0
]
instanceof
PabResults
)
{
this
.
_pabResults
=
rs
[
0
]
as
PabResults
;
}
this
.
updateView
();
...
...
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