From 934dd553dee887556281ad639ba8c1d72b26a2cc Mon Sep 17 00:00:00 2001 From: EmmaLRussell Date: Fri, 3 Nov 2023 11:18:00 +0000 Subject: [PATCH] lint --- .../app/components/SessionInitialiseModal.vue | 6 +- .../src/app/components/WodinSession.vue | 18 +++--- .../app/components/sessions/SessionsPage.vue | 6 +- app/static/src/app/store/appState/actions.ts | 4 +- app/static/src/app/store/appState/state.ts | 2 +- app/static/tests/e2e/sessions.etest.ts | 8 +-- app/static/tests/mocks.ts | 2 +- .../components/SessionInitialiseModal.test.ts | 7 ++- .../components/sessions/sessionsPage.test.ts | 18 +++--- .../unit/components/wodinSession.test.ts | 59 ++++++++++--------- .../tests/unit/store/appState/actions.test.ts | 18 +++--- 11 files changed, 77 insertions(+), 71 deletions(-) diff --git a/app/static/src/app/components/SessionInitialiseModal.vue b/app/static/src/app/components/SessionInitialiseModal.vue index 343c59d73..075ac5a50 100644 --- a/app/static/src/app/components/SessionInitialiseModal.vue +++ b/app/static/src/app/components/SessionInitialiseModal.vue @@ -28,14 +28,14 @@ import { computed, defineProps, defineEmits } from "vue"; import userMessages from "../userMessages"; const props = defineProps({ - open: Boolean + open: Boolean }); const emit = defineEmits(["newSession", "reloadSession"]); const modalStyle = computed(() => { - return { display: props.open ? "block" : "none" }; + return { display: props.open ? "block" : "none" }; }); const modalText = userMessages.sessions.initialise; - \ No newline at end of file + diff --git a/app/static/src/app/components/WodinSession.vue b/app/static/src/app/components/WodinSession.vue index b4593cb9f..2b9ec5164 100644 --- a/app/static/src/app/components/WodinSession.vue +++ b/app/static/src/app/components/WodinSession.vue @@ -7,8 +7,8 @@