Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
toiletcoin
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
1
Merge Requests
1
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
atichat
toiletcoin
Commits
e6f09324
Commit
e6f09324
authored
Aug 06, 2019
by
OuiAtichat
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
015d816f
ad057b6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
src/Pages/Home.js
+12
-1
No files found.
src/Pages/Home.js
View file @
e6f09324
...
...
@@ -162,13 +162,24 @@ class Home extends Component {
const
{
device
,
range
,
breakdown
}
=
selectedFeed
;
this
.
getFeedData
(
device
,
range
,
breakdown
);
};
getMax
(){
}
getMin
(){
}
getAvg
(){
}
getTotal
(){
}
getLast
(){
}
...
...
@@ -197,7 +208,7 @@ class Home extends Component {
{
/* {Data.map((item, index) => (
<DataCard key={index} item={item} feedData={feedData} />
))} */
}
<
DataCard
item
=
{
Data
[
0
]}
feedData
=
{
currentFeed
}
total
=
{}
/
>
<
DataCard
item
=
{
Data
[
0
]}
feedData
=
{
currentFeed
}
total
=
{
currentLast
}
/
>
<
DataCard
item
=
{
Data
[
1
]}
feedData
=
{
revenueFeed
}
total
=
{
revenueTotal
}
max
=
{
revenueMax
}
min
=
{
revenueMin
}
avg
=
{
revenueAvg
}
/
>
<
DataCard
item
=
{
Data
[
2
]}
feedData
=
{
peopleFeed
}
total
=
{
peopleTotal
}
max
=
{
peopleMax
}
min
=
{
peopleMin
}
avg
=
{
peopleAvg
}
/
>
<
DataCard
item
=
{
Data
[
3
]}
feedData
=
{
remoteFeed
}
total
=
{
remoteTotal
}
max
=
{
remoteMax
}
min
=
{
remoteMin
}
avg
=
{
remoteAvg
}
/
>
...
...
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