This commit is contained in:
seb
2026-10-13 22:05:30 +02:00
parent bc583a180f
commit bf7ff349f3
14 changed files with 82 additions and 47 deletions

View File

@@ -312,7 +312,7 @@ export function resolveActiveSub(pathname, sectionPath) {
sectionPath === '/kunde' && rest && !knownSegments.has(rest);
const isLieferungDetail =
sectionPath === '/lieferung' && rest && !knownSegments.has(rest);
// Angebot neu/edit: /auftrag/neu or /auftrag/:quoteId (not a known sub)
// Angebot neu/edit: /auftrag/neuesangebot, /auftrag/neu or /auftrag/:quoteId (not a known sub)
const isAngebotDoc =
sectionPath === '/auftrag' && rest && !knownSegments.has(rest);
if (isArticleDetail || isKundeDetail || isLieferungDetail || isAngebotDoc) {