Skip to content

Commit

Permalink
fixed conformsTo button
Browse files Browse the repository at this point in the history
  • Loading branch information
moisbo committed Nov 30, 2023
1 parent d4888c1 commit 78067aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crate-o",
"version": "0.3.0",
"version": "0.3.1",
"description": "A VueJS UI component to create and edit Research Object Crate (RO-Crate) metadata",
"keywords": [
"RO-Crate",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Entity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function checkConformsTo() {
function addConformTos(rTypes) {
const entity = props.modelValue;
const newVal = entity.conformsTo ? entity.conformsTo.concat(rTypes) : [rTypes];
const newVal = entity.conformsTo ? entity.conformsTo.concat(rTypes) : rTypes;
emit('update:modelValue', entity, 'conformsTo', newVal);
}
Expand Down

0 comments on commit 78067aa

Please sign in to comment.