This commit is contained in:
syuilo 2020-02-06 17:50:59 +09:00
parent a96076ee5b
commit 1b7a601d27

View File

@ -102,7 +102,7 @@
> >
<div v-for="widget in widgets" class="customize-container _panel" :key="widget.id"> <div v-for="widget in widgets" class="customize-container _panel" :key="widget.id">
<header> <header>
<span class="handle"><fa :icon="faBars"/></span>{{ widget.name }}<button class="remove _button" @click="removeWidget(widget)"><fa :icon="faTimes"/></button> <span class="handle"><fa :icon="faBars"/></span>{{ $t('_widgets.' + widget.name) }}<button class="remove _button" @click="removeWidget(widget)"><fa :icon="faTimes"/></button>
</header> </header>
<div @click="widgetFunc(widget.id)"> <div @click="widgetFunc(widget.id)">
<component :is="`mkw-${widget.name}`" :widget="widget" :ref="widget.id" :is-customize-mode="true"/> <component :is="`mkw-${widget.name}`" :widget="widget" :ref="widget.id" :is-customize-mode="true"/>