Merge pull request 'added empty collaborator handling, hid feed, and fixed some minor styling' (#6) from small-fixes into main

Reviewed-on: tiradoe/movie-night-web-nuxt#6
This commit is contained in:
Edward Tirado Jr 2026-04-09 00:27:52 +00:00
commit d7ebefc072
4 changed files with 5 additions and 3 deletions

View file

@ -36,6 +36,7 @@ const createList = () => {
form {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

View file

@ -3,7 +3,7 @@
<template>
<nav class="header">
<span class="logo">
<NuxtLink to="/">
<NuxtLink to="/lists">
Movie Night
</NuxtLink>
</span>

View file

@ -86,7 +86,8 @@ const deleteList = () => {
</ul>
</details>
<ul class="collaborators">
<div v-if="!list.collaborators.length">No collaborators found</div>
<ul v-else class="collaborators">
<li v-for="collaborator in list.collaborators" :key="collaborator.id">
<span>{{ collaborator.username }}</span>
<select v-model="collaborator.role">

View file

@ -7,7 +7,7 @@ export const useAuth = () => {
credentials: 'include',
})
await $api('/api/login', {method: 'POST', body: {email, password}})
await navigateTo('/')
await navigateTo('/lists')
}
const register = async (email: string, username: string) => {