Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
626a94be
Commit
626a94be
authored
Nov 27, 2018
by
Erik Sundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove time srv initialization
parent
7159b369
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
public/app/features/explore/Explore.tsx
+0
-9
No files found.
public/app/features/explore/Explore.tsx
View file @
626a94be
...
...
@@ -30,7 +30,6 @@ import IndicatorsContainer from 'app/core/components/Picker/IndicatorsContainer'
import
NoOptionsMessage
from
'app/core/components/Picker/NoOptionsMessage'
;
import
TableModel
,
{
mergeTablesIntoModel
}
from
'app/core/table_model'
;
import
{
DatasourceSrv
}
from
'app/features/plugins/datasource_srv'
;
import
{
getTimeSrv
}
from
'app/features/dashboard/time_srv'
;
import
{
Emitter
}
from
'app/core/utils/emitter'
;
import
*
as
dateMath
from
'app/core/utils/datemath'
;
...
...
@@ -92,7 +91,6 @@ interface ExploreProps {
export
class
Explore
extends
React
.
PureComponent
<
ExploreProps
,
ExploreState
>
{
el
:
any
;
exploreEvents
:
Emitter
;
timeSrv
:
any
;
/**
* Current query expressions of the rows including their modifications, used for running queries.
* Not kept in component state to prevent edit-render roundtrips.
...
...
@@ -137,13 +135,6 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
};
}
this
.
modifiedQueries
=
initialQueries
.
slice
();
this
.
timeSrv
=
getTimeSrv
();
this
.
timeSrv
.
init
({
time
:
DEFAULT_RANGE
,
refresh
:
false
,
getTimezone
:
()
=>
'utc'
,
timeRangeUpdated
:
()
=>
console
.
log
(
'refreshDashboard!'
),
});
this
.
exploreEvents
=
new
Emitter
();
}
...
...
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