Skip to content

Commit

Permalink
fixing the bug lof functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Latifa Al-Hitmi authored and Latifa Al-Hitmi committed Oct 19, 2024
1 parent ab175f0 commit 29205c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/src/admin/dashboard/bug-logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = $('<div>').addClass('bug-log');
logElement.append($('<p>').text(`User: ${log.user}`));
logElement.append($('<p>').text(`Description: ${log.description}`));
logElement.append($('<p>').text(`Timestamp: ${log.timestamp}`));
logElement.append($('<p>').text(User: ${log.user}));
logElement.append($('<p>').text(Description: ${log.description}));
logElement.append($('<p>').text(Timestamp: ${log.timestamp}));
bugLogsContainer.append(logElement);
});
} else {
Expand Down Expand Up @@ -56,4 +56,4 @@ define('admin/dashboard/bug-logs', ['jquery', 'api'], ($, api) => {
}

return BugLogs;
});
});

0 comments on commit 29205c1

Please sign in to comment.