1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

chore: updates vue (#3252)

This commit is contained in:
Amir Raminfar
2024-09-04 17:00:27 -07:00
committed by GitHub
parent 9ddbe6fbb0
commit 51a3f1f03b
3 changed files with 311 additions and 311 deletions

View File

@@ -26,6 +26,7 @@
<script lang="ts" setup>
import ViewerWithSource from "@/components/LogViewer/ViewerWithSource.vue";
import { ComponentExposed } from "vue-component-type-helpers";
import { useTemplateRef } from "vue";
const {
id,
@@ -42,10 +43,9 @@ const {
const close = defineEmit();
const store = useContainerStore();
const container = store.currentContainer($$(id));
const container = store.currentContainer(toRef(() => id));
const visibleKeys = persistentVisibleKeysForContainer(container);
const viewer = ref<ComponentExposed<typeof ViewerWithSource>>();
const viewer = useTemplateRef<ComponentExposed<typeof ViewerWithSource>>("viewer");
provideLoggingContext(toRef(() => [container.value]));
</script>