Skip to content

Commit

Permalink
misc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Mar 7, 2024
1 parent b658f53 commit 31b7c7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion webclient/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "navigatum",
"version": "0.1.0",
"version": "1.5.0",
"scripts": {
"cy:run:chrome:e2e": "cypress run --browser chrome --e2e",
"cy:run:firefox:e2e": "cypress run --browser firefox:dev --e2e",
Expand Down
5 changes: 2 additions & 3 deletions webclient/src/components/Toast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const props = withDefaults(
msg?: string;
level?: "error" | "warning" | "info" | "default";
}>(),
{ level: "default" },
{ level: "default", msg: "" },
);
</script>

Expand All @@ -19,7 +19,6 @@ const props = withDefaults(
'text-zinc-900 bg-zinc-100 border-zinc-300': props.level === 'default',
}"
>
<slot />
{{ props.msg }}
<slot>{{ props.msg }}</slot>
</div>
</template>
2 changes: 1 addition & 1 deletion webclient/src/pages/search.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { useFetch } from "@/composables/fetch";
import { computed, shallowRef, watchEffect } from "vue";
import { computed } from "vue";
import { setDescription, setTitle } from "@/composables/common";
import type { SectionFacet } from "@/modules/autocomplete";
import { extractFacets } from "@/modules/autocomplete";
Expand Down

0 comments on commit 31b7c7a

Please sign in to comment.