parent
21303bd06a
commit
25a69ec1b6
211 changed files with 1825 additions and 1624 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="mkw-activity">
|
||||
<mk-widget-container :show-header="!props.compact">
|
||||
<template slot="header"><fa icon="chart-bar"/>%i18n:@activity%</template>
|
||||
<template slot="header"><fa icon="chart-bar"/>{{ $t('activity') }}</template>
|
||||
<div :class="$style.body">
|
||||
<mk-activity :user="$store.state.i"/>
|
||||
</div>
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
<script lang="ts">
|
||||
import define from '../../../common/define-widget';
|
||||
import i18n from '../../../i18n';
|
||||
|
||||
export default define({
|
||||
name: 'activity',
|
||||
|
|
@ -18,6 +19,7 @@ export default define({
|
|||
compact: false
|
||||
})
|
||||
}).extend({
|
||||
i18n: i18n(),
|
||||
methods: {
|
||||
func() {
|
||||
this.props.compact = !this.props.compact;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue