Skip to content

Commit

Permalink
Revert "Fix playlist Hebrew detection logic"
Browse files Browse the repository at this point in the history
This reverts commit ad648b7.
  • Loading branch information
yossizahn committed Oct 21, 2020
1 parent 1fbf3be commit b68f172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/TechnologyPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
:hebrew-name="playlist.node.hebrewName"
:amount-of-videos="playlist.node.amountOfVideos"
:thumbnail="playlist.node.thumbnail"
:is-hebrew="playlist.node.hebrewName !== undefined"
:is-hebrew="!!playlist.node.hebrewName.length"
/>
<video-card
v-for="course in videos"
Expand Down Expand Up @@ -146,7 +146,7 @@ export default {
);
return !this.hebrewOnly
? playlists
: playlists.filter((playlist) => playlist.node.hebrewName !== undefined);
: playlists.filter((playlist) => !!playlist.node.hebrewName.length);
},
direction() {
Expand Down

0 comments on commit b68f172

Please sign in to comment.