diff --git a/src/pages/home/home.ts b/src/pages/home/home.ts index 8edc736..fbf4cd4 100755 --- a/src/pages/home/home.ts +++ b/src/pages/home/home.ts @@ -621,7 +621,8 @@ async function displayExistingProcesses(): Promise { return; } - // Display each process as a separate message + // Display all processes as simple text + let allMessages = ''; for (const [processId, process] of Object.entries(processes)) { const processInfo = { id: processId.substring(0, 8) + '...', @@ -630,14 +631,11 @@ async function displayExistingProcesses(): Promise { lastUpdate: process.last_update || 'Unknown' }; - const message = `📋 Process ${processInfo.id} - States: ${processInfo.states}, Members: ${processInfo.members}, Updated: ${processInfo.lastUpdate}`; - - if (mainStatus) { - // Add each message as a separate line - const currentContent = mainStatus.innerHTML; - const newMessage = currentContent ? `${currentContent}
${message}` : message; - mainStatus.innerHTML = newMessage; - } + allMessages += `📋 Process ${processInfo.id} - States: ${processInfo.states}, Members: ${processInfo.members}, Updated: ${processInfo.lastUpdate}\n`; + } + + if (mainStatus) { + mainStatus.innerHTML = `
${allMessages}
`; } } catch (error) {