fix recording creator
This commit is contained in:
parent
6fb474ce5f
commit
f699dc85dd
1 changed files with 3 additions and 3 deletions
|
@ -280,7 +280,7 @@
|
||||||
|
|
||||||
if (program.ServiceName == 'Emby') {
|
if (program.ServiceName == 'Emby') {
|
||||||
context.querySelector('.convertRecordingsContainer').classList.remove('hide');
|
context.querySelector('.convertRecordingsContainer').classList.remove('hide');
|
||||||
showConvertRecordingsUnlockMessage();
|
showConvertRecordingsUnlockMessage(context);
|
||||||
} else {
|
} else {
|
||||||
context.querySelector('.convertRecordingsContainer').classList.add('hide');
|
context.querySelector('.convertRecordingsContainer').classList.add('hide');
|
||||||
}
|
}
|
||||||
|
@ -291,8 +291,8 @@
|
||||||
function showConvertRecordingsUnlockMessage(context) {
|
function showConvertRecordingsUnlockMessage(context) {
|
||||||
|
|
||||||
Dashboard.getPluginSecurityInfo().then(function(regInfo) {
|
Dashboard.getPluginSecurityInfo().then(function(regInfo) {
|
||||||
|
|
||||||
if (regInfo.IsRegistered) {
|
if (regInfo.IsMBSupporter) {
|
||||||
context.querySelector('.btnSupporterForConverting').classList.add('hide');
|
context.querySelector('.btnSupporterForConverting').classList.add('hide');
|
||||||
} else {
|
} else {
|
||||||
context.querySelector('.btnSupporterForConverting').classList.remove('hide');
|
context.querySelector('.btnSupporterForConverting').classList.remove('hide');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue