summaryrefslogtreecommitdiff
path: root/src/client/widgets
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-08-13 19:56:46 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-08-13 19:56:46 +0900
commitbb342c76016d71fddb9c272c855292bec604fc87 (patch)
treea96f0a82e8d6a4c448baa345ac7d669d4a9a1c61 /src/client/widgets
parentWIP: Improve admin dashboard (diff)
downloadsharkey-bb342c76016d71fddb9c272c855292bec604fc87.tar.gz
sharkey-bb342c76016d71fddb9c272c855292bec604fc87.tar.bz2
sharkey-bb342c76016d71fddb9c272c855292bec604fc87.zip
WIP: Improve admin dashboard
Diffstat (limited to 'src/client/widgets')
-rw-r--r--src/client/widgets/federation.vue14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/client/widgets/federation.vue b/src/client/widgets/federation.vue
index 7bafb67c8a..7c3fc62381 100644
--- a/src/client/widgets/federation.vue
+++ b/src/client/widgets/federation.vue
@@ -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: [],