fix: the item preview's tab says Montagem, so it fits beside Arte
All checks were successful
Build and deploy / Validate source (push) Successful in 4s
Build and deploy / Integration suite on a real stack (push) Successful in 3m25s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 53s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-31 16:17:35 -03:00
parent 0b8eb143ad
commit 67a9cd9533

View File

@@ -559,7 +559,7 @@ function itemPreview(item){
const tabs=node('div',undefined,'ptabs');
const pick=(show)=>{art.hidden=show!=='art';film.hidden=show!=='film';
for(const b of tabs.children)b.setAttribute('aria-pressed',String(b.dataset.view===show));};
for(const [view,label] of [['art','Arte'],['film','Montagem no filme']]){
for(const [view,label] of [['art','Arte'],['film','Montagem']]){
const b=node('button',label);b.type='button';b.dataset.view=view;b.setAttribute('aria-pressed',String(view==='art'));
b.onclick=e=>{e.stopPropagation();pick(view);};tabs.append(b);}
wrap.append(tabs,art,film);return wrap;