chore(client): tweak ui

This commit is contained in:
syuilo 2022-07-05 17:55:47 +09:00
parent 38c1867a8b
commit a1cbffd14f

View file

@ -154,7 +154,7 @@ function createDoughnut(chartEl, tooltip, data) {
} }
onMounted(() => { onMounted(() => {
os.apiGet('federation/stats', { limit: 15 }).then(fedStats => { os.apiGet('federation/stats', { limit: 20 }).then(fedStats => {
createDoughnut(subDoughnutEl, externalTooltipHandler1, fedStats.topSubInstances.map(x => ({ createDoughnut(subDoughnutEl, externalTooltipHandler1, fedStats.topSubInstances.map(x => ({
name: x.host, name: x.host,
color: x.themeColor, color: x.themeColor,