Skip to content

Commit 72b328b

Browse files
cleanup
1 parent 9f3f743 commit 72b328b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

components/FeedBack/ErrorBanner.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<v-banner
3-
v-if="server_error"
3+
v-if="feedback_store.server_error"
44
elevation="2"
55
style="background-color: grey; z-index: 9999"
66
position="fixed"
@@ -44,7 +44,6 @@
4444

4545
<script setup>
4646
const feedback_store = use_feedback_store()
47-
const { server_error } = storeToRefs(feedback_store)
4847
4948
function reload() {
5049
window.location.reload()

test/composables/api_fetch.nuxt.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ describe("api_fetch", () => {
9797
handler: () => ({ return: "toto" }),
9898
})
9999
await api_fetch({ schema, params }, { request_error_function })
100-
console.log("length", feedback_store.feedbacks.length)
101100
// expect(feedback_store.feedbacks.length).toBe(1)
102101
await request_error_function()
103102
// expect(spy).toHaveBeenCalledTimes(1)

0 commit comments

Comments
 (0)