fix: correct sidebar logo alt text in projects.html (Z-AMPP → Wild Dragon)
This commit is contained in:
parent
398ee8b932
commit
86b80e043e
1 changed files with 1 additions and 4 deletions
|
|
@ -248,7 +248,7 @@
|
|||
<div class="shell">
|
||||
<nav class="sidebar" aria-label="Main navigation">
|
||||
<div class="sidebar-brand">
|
||||
<img src="img/dragon-logo.png?v=1" alt="Z-AMPP" class="sidebar-logo">
|
||||
<img src="img/dragon-logo.png?v=1" alt="Wild Dragon" class="sidebar-logo">
|
||||
<span class="sidebar-brand-name">Z-AMPP</span>
|
||||
</div>
|
||||
<nav class="sidebar-nav">
|
||||
|
|
@ -407,7 +407,6 @@
|
|||
try {
|
||||
const projs = await api('/projects');
|
||||
state.projects = Array.isArray(projs) ? projs : [];
|
||||
// Hydrate asset counts per project
|
||||
const counts = await Promise.all(state.projects.map(async (p) => {
|
||||
try {
|
||||
const r = await api('/assets?project_id=' + encodeURIComponent(p.id) + '&limit=1');
|
||||
|
|
@ -488,8 +487,6 @@
|
|||
}
|
||||
|
||||
function binCard(b) {
|
||||
// Use JSON.stringify + esc so the bin name is safe in an onclick JS string
|
||||
// regardless of quotes, backslashes, or other special characters it may contain.
|
||||
const nameJs = esc(JSON.stringify(b.name));
|
||||
return '<div class="proj-bin-card">' +
|
||||
'<div class="proj-bin-card-name">' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue