better findAll() in user module, no pagination tho, could add but would be hella annoying
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
/* TMP for Testing */
|
||||
let cherifFetch;
|
||||
const fetchCherif = async() => {
|
||||
@@ -220,14 +222,14 @@
|
||||
<!-- does this work? -->
|
||||
<!-- {#each allUsers as aUser (aUser.username)} -->
|
||||
{#each allUsers as aUser}
|
||||
{#if aUser.username !== user.username}
|
||||
<!-- {#if aUser.username !== user.username} -->
|
||||
<div class="sidebar-item" on:click={() => viewAUser(aUser.username)}>{aUser.username}</div>
|
||||
<!-- i could make an indicator component? like green for connected or something?
|
||||
i could use words but color them?
|
||||
i could make it so if they're in a game -->
|
||||
<div class="status sidebar-item">{aUser.status}</div>
|
||||
<br>
|
||||
{/if}
|
||||
<!-- {/if} -->
|
||||
{/each}
|
||||
{:else if activeTabItem === 'My Friends' && myFriends !== undefined}
|
||||
<h3>{activeTabItem}</h3>
|
||||
|
||||
Reference in New Issue
Block a user