fix: allow custom sites when only one is added
This commit is contained in:
parent
d72cc84561
commit
0b3dff4f89
|
|
@ -29,7 +29,7 @@ async function saveOptions() {
|
||||||
// todo: fix it
|
// todo: fix it
|
||||||
// also need make function for check string
|
// also need make function for check string
|
||||||
// https://developer.chrome.com/docs/extensions/mv3/match_patterns/
|
// https://developer.chrome.com/docs/extensions/mv3/match_patterns/
|
||||||
if(sites.length <= 1){
|
if(!sites.length){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue