showing tuned in users
This commit is contained in:
@@ -51,8 +51,6 @@ export default function LineDetails() {
|
|||||||
// don't want to see my own picture
|
// don't want to see my own picture
|
||||||
// TODO: don't show myself!?
|
// TODO: don't show myself!?
|
||||||
if (tunedInMemberUserId === user._id.toString()) {
|
if (tunedInMemberUserId === user._id.toString()) {
|
||||||
pictureSources.push();
|
|
||||||
|
|
||||||
pictureSources.push({
|
pictureSources.push({
|
||||||
name: user.givenName,
|
name: user.givenName,
|
||||||
pictureSrc: user.picture,
|
pictureSrc: user.picture,
|
||||||
@@ -112,18 +110,10 @@ export default function LineDetails() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Avatar.Group className={'animate-pulse'} key={`lineHistoryMessage-yesterday-afternoon}`}>
|
<Avatar.Group className={'animate-pulse'} key={`lineHistoryMessage-yesterday-afternoon}`}>
|
||||||
<Avatar
|
{tunedProfiles.map((otherUser) => (
|
||||||
key={`linehistory-${1}`}
|
|
||||||
src={user.picture}
|
|
||||||
shape="square"
|
|
||||||
size={'large'}
|
|
||||||
// grayscale if not playing?
|
|
||||||
className={`shadow-lg`}
|
|
||||||
/>
|
|
||||||
{selectedLine.otherUserObjects.map((otherUser) => (
|
|
||||||
<Avatar
|
<Avatar
|
||||||
key={`linehistory-${1}`}
|
key={`tunedUser-${otherUser.name}`}
|
||||||
src={otherUser.picture}
|
src={otherUser.pictureSrc}
|
||||||
shape="square"
|
shape="square"
|
||||||
size={'large'}
|
size={'large'}
|
||||||
className={`shadow-lg`}
|
className={`shadow-lg`}
|
||||||
|
|||||||
Reference in New Issue
Block a user