Skip to content

Commit

Permalink
Fix for "None Content" Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
danamag authored Apr 8, 2023
1 parent c5d8e68 commit d77bad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ getCached().then(cached => {
const installButton = !(addonManifest.behaviorHints || {}).configurationRequire ? '<a class="addon-button install-button" href="'+task.url.replace('https://','stremio://')+'">Install</a> <a class="addon-button copy-link-button" href="#" onClick="copyLink(event, \''+task.url+'\')">Copy Link</a>' : ''
const configButton = (addonManifest.behaviorHints || {}).configurable ? '<a class="addon-button configure-button" href="'+task.url.replace('/manifest.json','/configure')+'" target="_blank">Configure</a>' : ''
const commentsButton = task.commentCount ? `<a href="${slug(addonManifest.name)}.html" class="addon-button last-addon-button"><ion-icon name="chatbubbles" class="gray-icon"></ion-icon> ${task.commentCount}</a>` : ''
const language = task.language && task.language !== 'Multilingual' ? `<div class="addon-language">${task.language} Content</div>` : ''
const language = task.language && task.language !== 'Multilingual' && task.language !== 'None' ? `<div class="addon-language">${task.language} Content</div>` : ''
const addonsScoreFaded = !task.ups && !task.downs ? ' addon-score-faded' : ''

const labelsForHomeHeader = task.labels.map(el => `<span class="label label-addon-page" style="background-color: #${el.color}">${el.name}</span>`).join('')
Expand Down

0 comments on commit d77bad0

Please sign in to comment.