From 29205c181343ef9b053d6b07e8d574fc0e0b7379 Mon Sep 17 00:00:00 2001 From: Latifa Al-Hitmi Date: Sat, 19 Oct 2024 22:38:00 +0300 Subject: [PATCH] fixing the bug lof functionality --- public/src/admin/dashboard/bug-logs.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/src/admin/dashboard/bug-logs.js b/public/src/admin/dashboard/bug-logs.js index 5af84ccb95..fc7bc0ed1d 100644 --- a/public/src/admin/dashboard/bug-logs.js +++ b/public/src/admin/dashboard/bug-logs.js @@ -20,9 +20,9 @@ define('admin/dashboard/bug-logs', ['jquery', 'api'], ($, api) => { if (data.bugLogs && data.bugLogs.length > 0) { data.bugLogs.forEach((log) => { const logElement = $('
').addClass('bug-log'); - logElement.append($('

').text(`User: ${log.user}`)); - logElement.append($('

').text(`Description: ${log.description}`)); - logElement.append($('

').text(`Timestamp: ${log.timestamp}`)); + logElement.append($('

').text(⁠ User: ${log.user} ⁠)); + logElement.append($('

').text(⁠ Description: ${log.description} ⁠)); + logElement.append($('

').text(⁠ Timestamp: ${log.timestamp} ⁠)); bugLogsContainer.append(logElement); }); } else { @@ -56,4 +56,4 @@ define('admin/dashboard/bug-logs', ['jquery', 'api'], ($, api) => { } return BugLogs; -}); +}); \ No newline at end of file