Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
visualization
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pika
visualization
Commits
8489beab
Commit
8489beab
authored
Jul 22, 2020
by
Ziwen Su
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a known bug.
parent
7d69b69a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/app/service/monitoring.service.ts
src/app/service/monitoring.service.ts
+5
-4
No files found.
src/app/service/monitoring.service.ts
View file @
8489beab
...
...
@@ -48,8 +48,8 @@ export class MonitoringService {
var
end_date
=
new
Date
();
// for testing
//
start_date = new Date(1575331200000);
//
var end_date = new Date(1575763200000);
start_date
=
new
Date
(
1575331200000
);
var
end_date
=
new
Date
(
1575763200000
);
this
.
global_range_dates
=
[
start_date
,
end_date
];
...
...
@@ -348,10 +348,11 @@ export class MonitoringService {
var
displays
=
this
.
appConfig
.
getConfig
().
PartitionConfig
[
partition
][
"
displays
"
];
if
(
displays
.
length
>
1
)
{
var
displays_top
:
string
[]
=
this
.
appConfig
.
getConfig
().
DefaultTimelinesTop
;
// remove first item from displays
displays
.
shift
();
// combine default displays and additional displays
displays
=
displays_top
.
concat
(
displays
);
// remove "DefaultTimelinesTop" from displays
var
j
=
displays_top
.
length
;
displays
.
splice
(
j
,
1
);
}
else
{
displays
=
this
.
appConfig
.
getConfig
().
DefaultTimelinesTop
;
}
...
...
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