Skip to content

Commit 999cab7

Browse files
committed
wip #87
1 parent 7b247e9 commit 999cab7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/ActivityEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<v-app-bar color="indigo" dark fixed app>
66
<v-app-bar-nav-icon @click.stop="toggleSidebar()"></v-app-bar-nav-icon>
77
<v-app-bar-title class="title" v-if="!saved"><div>{{ $t("message.activity_new") }} {{prefix}} {{activity.name}}</div></v-app-bar-title>
8-
<v-app-bar-title class="title" v-else><div>{ $t("message.activity_edit") }} {{prefix}} {{activity.name}}</div></v-app-bar-title>
8+
<v-app-bar-title class="title" v-else><div>{{ $t("message.activity_edit") }} {{prefix}} {{activity.name}}</div></v-app-bar-title>
99
<v-spacer></v-spacer>
1010
<v-btn text @click="save()">
1111
<v-icon>save</v-icon>

src/components/ToolboxEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export default {
206206
/* eslint-disable no-underscore-dangle */
207207
let i = 0;
208208
ablock.inputList.forEach((aninput) => {
209-
if (aninput.type == 1) {
209+
if (aninput.type == 1 && ablock.childBlocks_.length > i) {
210210
inputlist[aninput.name] = {
211211
shadow: {
212212
kind: 'block',

0 commit comments

Comments
 (0)