Skip to content

Commit

Permalink
fix(admin-ui): minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Jul 14, 2022
1 parent 4ee2b88 commit 3d1fd39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
14 changes: 0 additions & 14 deletions admin-ui/app/redux/sagas/MauSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,6 @@ export default function* rootSaga() {

function buildData(stat) {
const result = stat.map((entry) => buildEntry(entry))
// result.push({
// month: 202111,
// mau: 5,
// client_credentials_access_token_count: 68,
// authz_code_access_token_count: 785,
// authz_code_idtoken_count: 567,
// })
// result.push({
// month: 202112,
// mau: 3,
// client_credentials_access_token_count: 28,
// authz_code_access_token_count: 75,
// authz_code_idtoken_count: 257,
// })
return result
}
function buildEntry(el) {
Expand Down
6 changes: 3 additions & 3 deletions admin-ui/app/routes/Dashboards/Chart/DashboardChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ const DashboardChart = () => {
<CartesianGrid strokeDasharray="3 3" />
<Tooltip />
<Legend wrapperStyle={{ color: '#fff' }} />
<Bar dataKey="authz_code_access_token_count" fill={'#303641'} />
<Bar dataKey="authz_code_idtoken_count" fill={'#303641'} />
<Bar dataKey="client_credentials_access_token_count" fill={'#303641'} />
<Bar dataKey="authz_code_access_token_count" fill={'#9CBEE0'} />
<Bar dataKey="authz_code_idtoken_count" fill={'#8D9460'} />
<Bar dataKey="client_credentials_access_token_count" fill={'#FE9F01'} />
</BarChart>
</ResponsiveContainer>
)
Expand Down

0 comments on commit 3d1fd39

Please sign in to comment.