Fixed multi-job scrape, and added labels and single job scrape
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// settings.js - Handle secure configuration storage
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
chrome.storage.local.get(
|
||||
[
|
||||
@@ -19,8 +17,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
document.getElementById('loginEmail').value = result.loginEmail;
|
||||
document.getElementById('ntfyServer').value =
|
||||
result.ntfyServer || 'https://notify.tstitagency.com';
|
||||
if (result.ntfyTopic)
|
||||
document.getElementById('ntfyTopic').value = result.ntfyTopic;
|
||||
document.getElementById('ntfyTopic').value =
|
||||
result.ntfyTopic || 'andela-jobs';
|
||||
if (result.ntfyToken)
|
||||
document.getElementById('ntfyToken').value = result.ntfyToken;
|
||||
},
|
||||
@@ -47,8 +45,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
appsScriptUrl: appsScriptUrl,
|
||||
appsScriptKey: appsScriptKey,
|
||||
loginEmail: loginEmail,
|
||||
ntfyServer: ntfyServer,
|
||||
ntfyTopic: ntfyTopic,
|
||||
ntfyServer: ntfyServer || 'https://notify.tstitagency.com',
|
||||
ntfyTopic: ntfyTopic || 'andela-jobs',
|
||||
ntfyToken: ntfyToken,
|
||||
},
|
||||
function () {
|
||||
|
||||
Reference in New Issue
Block a user