reforma da interface da página de projetos
Deploy / Deploy (push) Successful in 1m24s
Details
Deploy / Deploy (push) Successful in 1m24s
Details
This commit is contained in:
parent
f442d2ed34
commit
d2eadfec7e
|
|
@ -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';
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue