Let the server set the theme based on the cookie sent at request time, which should stop flashing

This commit is contained in:
2025-10-17 13:39:25 +01:00
parent 8e687fe176
commit 052b14ca40
4 changed files with 28 additions and 24 deletions

View File

@@ -77,7 +77,6 @@ export const parseDescriptionDefault = (reg: Register, description: string) => {
// });
} else if (trimmedLine.startsWith('*')) {
const noteMatch = trimmedLine.match(/^(\*+)\s*(.*)/);
console.log("NOTE MATCH",noteMatch);
if (noteMatch) {
accessData.notes.push({
ref: noteMatch[1],
@@ -89,8 +88,6 @@ export const parseDescriptionDefault = (reg: Register, description: string) => {
reg.text += `${line}\n`;
continue;
}
// console.log("LINE",line);
console.log(line.match(/^\s+/), line);
if (line.match(/^\s+/) && accessData.operations.length > 0) {
accessData.operations[accessData.operations.length - 1].description += `\n${line}`;
} else {