Skip to content

Commit

Permalink
smal bugs addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoLaugier committed Feb 9, 2024
1 parent 73ffa37 commit 55d1dd3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class ChatUserMessageComponent {
dateStrOfTimestamp(timestamp: number): string {
const date = new Date(timestamp);
return (
`${date.getFullYear()} - ${date.getMonth() - date.getDate()}:` +
`${date.getFullYear()} - ${date.getMonth()} - ${date.getDate()}:` +
` ${date.getHours()}:${date.getMinutes()}:${date.getSeconds()}`
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,19 @@
</div>
</div>

<b>Your discussion is now focussing on selecting the best item between the following items</b>
<div class="flex-container">
<div class="item-pair-displays">
<div class="item-pair-item">
<img src="{{ currentRatingsToDiscuss().item1.imageUrl }}" alt="{{ currentRatingsToDiscuss().item1.name }}" width="20px" />
<span>{{ currentRatingsToDiscuss().item1.name }}</span>
</div>
<div class="item-pair-item">
<img src="{{ currentRatingsToDiscuss().item2.imageUrl }}" alt="{{ currentRatingsToDiscuss().item2.name }}" width="20px" />
<span>{{ currentRatingsToDiscuss().item2.name }}</span>
@if (currentRatingsToDiscuss()){
<b>Your discussion is now focusing on selecting the best item between the following items</b>
<div class="flex-container">
<div class="item-pair-displays">
<div class="item-pair-item">
<img src="{{ currentRatingsToDiscuss().item1.imageUrl }}" alt="{{ currentRatingsToDiscuss().item1.name }}" width="20px" />
<span>{{ currentRatingsToDiscuss().item1.name }}</span>
</div>
<div class="item-pair-item">
<img src="{{ currentRatingsToDiscuss().item2.imageUrl }}" alt="{{ currentRatingsToDiscuss().item2.name }}" width="20px" />
<span>{{ currentRatingsToDiscuss().item2.name }}</span>
</div>
</div>
</div>
</div>
}
}

0 comments on commit 55d1dd3

Please sign in to comment.