Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
masinnae committed May 21, 2024
1 parent d83fba0 commit eac5fce
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/project/ProjectSideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const isSoloProject = computed(() => project.value.capacity === 1);
<style scoped>
.group-button {
margin-bottom: 5px;
min-width: 150px;
width: 200px;
background-color: rgb(var(--v-theme-primary));
color: rgb(var(--v-theme-navtext));
}
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export default {
logout: "Logout",
},
submit: {
submit_title: "Submit title",
submit_title: "Submit solution",
create_title_tip: "Choose a title",
submit_button: "Submit",
remarks: "Remarks",
files: "Files",
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/i18n/locales/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ export default {
logout: "Uitloggen",
},
submit: {
submit_title: "Kies een titel",
submit_title: "Oplossing indienen",
create_title_tip: "Kies een titel",
submit_button: "Indienen",
remarks: "Opmerkingen",
files: "Bestanden",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/CreateProjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
v-model="project_title"
:label="$t('project.assignment')"
required
:placeholder="$t('submit.submit_title')"
:placeholder="$t('submit.create_title_tip')"
/>
<v-select
v-if="!isEditMode"
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/HomeScreenView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<script setup lang="ts">
import SubjectsCard from "@/components/home/cards/SubjectsCard.vue";
import DeadlinesCard from "@/components/home/cards/DeadlinesCard.vue";
import AnnouncementsCard from "@/components/home/cards/AnnouncementsCard.vue";
import TitleContainer from "@/components/TitleContainer.vue";
import { useCurrentUserQuery } from "@/queries/User";
import { useDisplay } from "vuetify";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/ProjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ const isDataError = computed(
<style scoped>
.button-container {
margin-top: 20px;
min-width: 170px;
min-width: 200px;
}
</style>
1 change: 0 additions & 1 deletion frontend/src/views/subject/SubjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ import {
useSubjectInstructorsQuery,
useSubjectStudentsQuery,
} from "@/queries/Subject";
import BackgroundContainer from "@/components/BackgroundContainer.vue";
import SubjectHeaderContainer from "@/components/subject/subjectview/header/SubjectHeaderContainer.vue";
import SubjectProjectsPage from "@/components/subject/subjectview/body/projects/SubjectProjectsPage.vue";
import { useCurrentUserQuery } from "@/queries/User";
Expand Down
4 changes: 0 additions & 4 deletions frontend/tests/views/GroupsView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ describe("GroupsView", () => {
expect(wrapper.findComponent(".groupCard").exists()).toBeTruthy()
});

it("render if user is student", () => {
expect(wrapper.findComponent({name: "VBtn"}).exists()).toBeFalsy()
});

it("render if user is teacher", async () => {
testCurrentUserQuery.data.value.setUid("teacher")
await wrapper.vm.$nextTick();
Expand Down

0 comments on commit eac5fce

Please sign in to comment.