Skip to content

Commit

Permalink
Fix small issue related to mappings' partOf property
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Oct 19, 2023
1 parent 4504923 commit 348ea39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MappingBrowserTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
v-if="showEditingTools && !$jskos.compareFast(data.item.registry, $store.getters.getCurrentRegistry)"
class="mappingBrowser-toolbar-button">
<font-awesome-icon
v-if="$jskos.mappingRegistryIsStored(data.item.registry) && canCreateMapping({ registry: currentRegistry, mapping: Object.assign(data.item.mapping, { partOf: null }), user })"
v-if="$jskos.mappingRegistryIsStored(data.item.registry) && canCreateMapping({ registry: currentRegistry, mapping: Object.assign({}, data.item.mapping, { partOf: null }), user })"
v-b-tooltip.hover="{ title: $t('mappingBrowser.saveAsMapping', [$jskos.prefLabel(currentRegistry)]), delay: defaults.delay.medium }"
class="button"
icon="save"
Expand Down

0 comments on commit 348ea39

Please sign in to comment.