diff --git a/src/components/subtitleeditor/subtitleeditor.js b/src/components/subtitleeditor/subtitleeditor.js index ffe05ae5c3..9fcc05c07a 100644 --- a/src/components/subtitleeditor/subtitleeditor.js +++ b/src/components/subtitleeditor/subtitleeditor.js @@ -114,8 +114,9 @@ function fillSubtitleList(context, item) { itemHtml += ''; itemHtml += ''; + const buttonVisibility = item.CanDelete ? '' : 'hide'; if (!layoutManager.tv && s.Path) { - itemHtml += ''; + itemHtml += ''; } itemHtml += '';