diff --git a/src/pages/LogsPage/TerminalRow.tsx b/src/pages/LogsPage/TerminalRow.tsx
index d99e0699..8cd5f7af 100644
--- a/src/pages/LogsPage/TerminalRow.tsx
+++ b/src/pages/LogsPage/TerminalRow.tsx
@@ -9,6 +9,7 @@ type DataType = {
interface RowProps {
data: DataType | undefined
index: number
+ timestamp: boolean
}
function cutSentenceToRandomWords(sentence: string) {
const randomLength = Math.floor(Math.random() * 100) + 1
@@ -17,7 +18,7 @@ function cutSentenceToRandomWords(sentence: string) {
return slicedWords.join(' ')
}
-const TerminalRow = ({ data, index }: RowProps) => {
+const TerminalRow = ({ data, index, timestamp }: RowProps) => {
if (!data) {
return Loading...
}
@@ -41,10 +42,12 @@ const TerminalRow = ({ data, index }: RowProps) => {
>
{index}
-
- {new Date(Date.now()).getHours()}:{new Date(Date.now()).getMinutes()}:
- {new Date(Date.now()).getSeconds()}
-
+ {timestamp && (
+
+ {new Date(Date.now()).getHours()}:{new Date(Date.now()).getMinutes()}:
+ {new Date(Date.now()).getSeconds()}
+
+ )}