-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix no projects found, more styling, filterbuttons #159
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good
frontend/src/views/ProjectsView.vue
Outdated
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { useProjectsQuery } from "@/queries/Project"; | ||
import ProjectMiniCard from "@/components/project/ProjectMiniCard.vue"; | ||
import {computed, ref, watch} from "vue"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
watch
wordt nooit gebruikt
return projects.value.slice().filter((project: Project) => { | ||
return new Date(project.deadline) < now; | ||
}); | ||
case "notFinished": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in de toekomst hier ook projecten uitfilteren die al een submission hebben met status Accepted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is da nodig? mss wil je nog nieuwe submission maken?
nog eens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ziet er ait uit
return projects.value.slice().filter((project: Project) => { | ||
return new Date(project.deadline) < now; | ||
}); | ||
case "notFinished": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is da nodig? mss wil je nog nieuwe submission maken?
No description provided.