fix: allow custom sites when only one is added

This commit is contained in:
mutschler 2023-11-19 01:52:46 +01:00 committed by GitHub
parent d72cc84561
commit 0b3dff4f89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ async function saveOptions() {
// todo: fix it
// also need make function for check string
// https://developer.chrome.com/docs/extensions/mv3/match_patterns/
if(sites.length <= 1){
if(!sites.length){
return;
}