Skip to content

Commit

Permalink
Merge branch 'hotfix/1.29.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
lrosenstrom committed Mar 14, 2023
2 parents 3bd6232 + 4969bdd commit a8b33f5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vue-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-client",
"version": "1.29.0",
"version": "1.29.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
8 changes: 6 additions & 2 deletions vue-client/src/components/mixins/language-mixin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,12 @@ export default {
addEmpty() {
const isRepeatable = VocabUtil.propIsRepeatable(this.getPropKey(), this.resources.context); // Is for some reason different from this.isRepeatable()
if (this.hasProp && isRepeatable) {
const updateVal = this.prop;
updateVal.push('');
let updateVal = this.prop;
if (Array.isArray(updateVal)) {
updateVal.push('');
} else {
updateVal = [].concat(updateVal, '');
}
this.$store.dispatch('updateInspectorData', {
changeList: [
{
Expand Down
2 changes: 1 addition & 1 deletion vue-client/src/views/Inspector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ export default {
}
setTimeout(() => {
this.justEmbellished = false;
}, 300);
}, 1500);
},
async preSaveHook(obj) {
await checkAutoShelfControlNumber(obj, this.settings, this.user);
Expand Down

0 comments on commit a8b33f5

Please sign in to comment.