mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Fix bug on import/export page
This commit is contained in:
parent
992b7f024e
commit
0d00fb946e
|
@ -105,13 +105,14 @@
|
|||
const getCurrentConfigs = function getCurrentConfigs() {
|
||||
|
||||
const oldMods = kitchenState(modsKey);
|
||||
if (oldMods) {
|
||||
/*if (oldMods) {
|
||||
// No migration!
|
||||
return oldMods;
|
||||
}
|
||||
}*/
|
||||
|
||||
// In case of first install.
|
||||
const [err, mods, ...warns] = createPacModifiers();
|
||||
// Client may expect mods.included and mods.excluded!
|
||||
// On first install they are not defined.
|
||||
const [err, mods, ...warns] = createPacModifiers(oldMods);
|
||||
if (err) {
|
||||
throw err;
|
||||
}
|
||||
|
|
|
@ -21,12 +21,12 @@ chrome.runtime.getBackgroundPage( (backgroundPage) =>
|
|||
|
||||
# ПРОКСИРОВАТЬ:
|
||||
|
||||
${mods.included.join('\n')}
|
||||
${(mods.included || []).join('\n')}
|
||||
|
||||
===============================
|
||||
# НЕ ПРОКСИРОВАТЬ:
|
||||
|
||||
${mods.excluded.join('\n')}`;
|
||||
${(mods.excluded || []).join('\n')}`;
|
||||
|
||||
status.innerText = 'Успешно загружено!';
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user