Show the small alert if no services #616

This commit is contained in:
Amauri CHAMPEAUX 2021-04-28 14:36:04 +02:00
parent b091e07cc5
commit bc324cd537
1 changed files with 5 additions and 1 deletions

View File

@ -531,7 +531,11 @@ var tarteaucitron = {
tarteaucitron.addService(tarteaucitron.job[index]);
}
} else {
tarteaucitron.job = []
tarteaucitron.job = [];
}
if (tarteaucitron.job.length == 0) {
tarteaucitron.userInterface.closeAlert();
}
tarteaucitron.isAjax = true;