reforma da interface da página de projetos
This commit is contained in:
1 parent
361dab29e5
commit
7697b9fa90
1 file changed
+2
-2
+2
-2
@@ -456,7 +456,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
genero = info.analise_ia?.genero_macro || "Unknown";
|
||||
intensidade = parseFloat(info.analise_tecnica?.intensidade_db || -100);
|
||||
bpm = parseFloat(info.analise_tecnica?.bpm || 0);
|
||||
estrelas = parseInt(info.analise_tecnica?.complexidade?.estrelas || 0);
|
||||
estrelas = Math.round(info.analise_tecnica?.complexidade?.estrelas || 0);
|
||||
|
||||
// HTML do Tom
|
||||
if (info.analise_tecnica?.tom) {
|
||||
@@ -566,7 +566,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
const s = parseInt(c.dataset.stars || 0);
|
||||
|
||||
const matchG = (currentGenre === 'all' || g === currentGenre);
|
||||
const matchS = (currentMinStars === 'all' || s >= parseInt(currentMinStars));
|
||||
const matchS = (currentMinStars === 'all' || s === parseInt(currentMinStars));
|
||||
|
||||
col.style.display = (matchG && matchS) ? 'block' : 'none';
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user