Skip to content

Commit 3d1fd39

Browse files
committed
fix(admin-ui): minor bug fix
1 parent 4ee2b88 commit 3d1fd39

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

admin-ui/app/redux/sagas/MauSaga.js

-14
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,6 @@ export default function* rootSaga() {
4646

4747
function buildData(stat) {
4848
const result = stat.map((entry) => buildEntry(entry))
49-
// result.push({
50-
// month: 202111,
51-
// mau: 5,
52-
// client_credentials_access_token_count: 68,
53-
// authz_code_access_token_count: 785,
54-
// authz_code_idtoken_count: 567,
55-
// })
56-
// result.push({
57-
// month: 202112,
58-
// mau: 3,
59-
// client_credentials_access_token_count: 28,
60-
// authz_code_access_token_count: 75,
61-
// authz_code_idtoken_count: 257,
62-
// })
6349
return result
6450
}
6551
function buildEntry(el) {

admin-ui/app/routes/Dashboards/Chart/DashboardChart.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ const DashboardChart = () => {
6060
<CartesianGrid strokeDasharray="3 3" />
6161
<Tooltip />
6262
<Legend wrapperStyle={{ color: '#fff' }} />
63-
<Bar dataKey="authz_code_access_token_count" fill={'#303641'} />
64-
<Bar dataKey="authz_code_idtoken_count" fill={'#303641'} />
65-
<Bar dataKey="client_credentials_access_token_count" fill={'#303641'} />
63+
<Bar dataKey="authz_code_access_token_count" fill={'#9CBEE0'} />
64+
<Bar dataKey="authz_code_idtoken_count" fill={'#8D9460'} />
65+
<Bar dataKey="client_credentials_access_token_count" fill={'#FE9F01'} />
6666
</BarChart>
6767
</ResponsiveContainer>
6868
)

0 commit comments

Comments
 (0)