Fix import menu hidden with no segments

Fix #1499
This commit is contained in:
Ajay 2022-09-28 15:17:05 -04:00
parent 1ba1595d0e
commit a99823d487

View file

@ -430,7 +430,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}
} else if (request.status == 404 || request.status == 200) {
PageElements.videoFound.innerHTML = chrome.i18n.getMessage("sponsor404");
PageElements.issueReporterImportExport.classList.add("hidden");
PageElements.issueReporterImportExport.classList.remove("hidden");
} else {
PageElements.videoFound.innerHTML = chrome.i18n.getMessage("connectionError") + request.status;
PageElements.issueReporterImportExport.classList.add("hidden");