Skip to content

Commit

Permalink
Fix copies modal display.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed May 10, 2024
1 parent 79df69a commit 4b5de0c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions kolibri/plugins/learn/assets/src/views/CopiesModal.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>

<KModal
v-if="displayedCopies.length"
v-if="copies.length"
:title="$tr('copies')"
:submitText="coreString('closeAction')"
@submit="$emit('closeModal')"
Expand Down Expand Up @@ -50,8 +50,8 @@
return { genContentLinkBackLinkCurrentPage };
},
props: {
displayedCopies: {
type: Object,
copies: {
type: Array,
required: true,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<CopiesModal
v-if="displayedCopies.length"
:copies="displayedCopies"
@submit="displayedCopies = []"
@closeModal="displayedCopies = []"
/>
</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<CopiesModal
v-if="displayedCopies.length"
:copies="displayedCopies"
@submit="displayedCopies = []"
@closeModal="displayedCopies = []"
/>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<CopiesModal
v-if="displayedCopies.length"
:copies="displayedCopies"
@submit="displayedCopies = []"
@closeModal="displayedCopies = []"
/>
</div>

Expand Down

0 comments on commit 4b5de0c

Please sign in to comment.