Skip to content

Commit c956f90

Browse files
committed
Update header layout
1 parent 32fa9e7 commit c956f90

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

src/Dashboard/Subscriptions/data.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ export const subscriptionsItems = [
99
export const subscriptionsHistoryChart = {
1010
data: {
1111
datasets: [
12+
{
13+
backgroundColor: '#b1cc90',
14+
borderColor: '#8cd136',
15+
borderWidth: 2,
16+
label: 'Subscriptions',
17+
fill: false,
18+
data: [1545, 1350, 1270, 1830, 1955, 1865, 2034, 2544, 1956, 2211, 1540, 1670],
19+
yAxisID: 'y1',
20+
},
1221
{
1322
backgroundColor: 'rgba(136, 151, 170, 0.1)',
1423
borderColor: '#8897aa',
@@ -31,15 +40,6 @@ export const subscriptionsHistoryChart = {
3140
label: 'Visits',
3241
yAxisID: 'y2',
3342
},
34-
{
35-
backgroundColor: '#b1cc90',
36-
borderColor: '#8cd136',
37-
borderWidth: 2,
38-
label: 'Subscriptions',
39-
fill: false,
40-
data: [1545, 1350, 1270, 1830, 1955, 1865, 2034, 2544, 1956, 2211, 1540, 1670],
41-
yAxisID: 'y1',
42-
},
4343
],
4444
labels: [
4545
'2019-03',

src/_common/AppHeader/AppHeaderProfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ import IconLogout from '@material-ui/icons/ExitToApp'
2121
const AppHeaderProfile = () => {
2222
const classes = useStyles()
2323
const [anchorEl, setAnchorEl] = React.useState(null)
24-
const { user } = {}
24+
const user = {
25+
firstName: 'Gevorg',
26+
}
2527

2628
if (!user) {
2729
return <div className={clsx('headerProfile', classes.headerProfile)} />

0 commit comments

Comments
 (0)