Skip to content

Commit 0c57ce4

Browse files
committed
videosがArrayなのでlengthでv-ifにするように変更
resolve: #139 (comment)
1 parent 6b0bc92 commit 0c57ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ContentCardEditable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
:background-color="lesson.subject.color || '#A5D8FF'"
1111
/>
1212
<subject-tag
13-
v-if="lesson.videos.url"
13+
v-if="lesson.videos.length >= 1"
1414
class="ContentCard-SubjectTag"
1515
:name="'動画'"
1616
:icon="'mdi-video'"

0 commit comments

Comments
 (0)