Skip to content

Commit

Permalink
wip #87
Browse files Browse the repository at this point in the history
  • Loading branch information
previ committed Jun 13, 2022
1 parent 7b247e9 commit 999cab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ActivityEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<v-app-bar color="indigo" dark fixed app>
<v-app-bar-nav-icon @click.stop="toggleSidebar()"></v-app-bar-nav-icon>
<v-app-bar-title class="title" v-if="!saved"><div>{{ $t("message.activity_new") }} {{prefix}} {{activity.name}}</div></v-app-bar-title>
<v-app-bar-title class="title" v-else><div>{ $t("message.activity_edit") }} {{prefix}} {{activity.name}}</div></v-app-bar-title>
<v-app-bar-title class="title" v-else><div>{{ $t("message.activity_edit") }} {{prefix}} {{activity.name}}</div></v-app-bar-title>
<v-spacer></v-spacer>
<v-btn text @click="save()">
<v-icon>save</v-icon>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ToolboxEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default {
/* eslint-disable no-underscore-dangle */
let i = 0;
ablock.inputList.forEach((aninput) => {
if (aninput.type == 1) {
if (aninput.type == 1 && ablock.childBlocks_.length > i) {
inputlist[aninput.name] = {
shadow: {
kind: 'block',
Expand Down

0 comments on commit 999cab7

Please sign in to comment.