Skip to content

Commit 578e8b8

Browse files
committed
closeExpand を collapseに変更
resolve: #139 (comment)
1 parent d903cbe commit 578e8b8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/EditingScreen.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
class="Button"
4343
theme="transparent"
4444
text="キャンセル"
45-
@click="$emit('closeExpand')"
45+
@click="$emit('collapse')"
4646
/>
4747
<action-button
4848
class="Button"
@@ -242,7 +242,7 @@ export default Vue.extend({
242242
vxm.classData
243243
.editLessonData(lessonData)
244244
.then(() => {
245-
this.$emit('closeExpand')
245+
this.$emit('collapse')
246246
})
247247
.catch(() => {
248248
this.error = true
@@ -253,7 +253,7 @@ export default Vue.extend({
253253
vxm.classData
254254
.addLesson(lessonData)
255255
.then(() => {
256-
this.$emit('closeExpand')
256+
this.$emit('collapse')
257257
})
258258
.catch(() => {
259259
this.error = true

src/pages/edit/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<editing-screen
3535
:value="editPageValue"
3636
:expanded="!isExpandedButton"
37-
@closeExpand="closeToReset"
37+
@collapse="closeToReset"
3838
/>
3939
</div>
4040
</template>

0 commit comments

Comments
 (0)