WIP: Improve admin dashboard

This commit is contained in:
syuilo 2020-08-13 19:56:46 +09:00
parent ed17636fb9
commit bb342c7601
2 changed files with 29 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<template>
<mk-container :show-header="props.showHeader">
<mk-container :show-header="props.showHeader" :body-togglable="bodyTogglable" :scrollable="scrollable">
<template #header><fa :icon="faGlobe"/>{{ $t('_widgets.federation') }}</template>
<div class="wbrkwalb">
@ -36,6 +36,18 @@ export default define({
components: {
MkContainer, MkMiniChart
},
props: {
bodyTogglable: {
type: Boolean,
required: false,
default: false
},
scrollable: {
type: Boolean,
required: false,
default: false
},
},
data() {
return {
instances: [],