1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00
Files
dozzle/assets/pages/merged/[name].vue
2024-06-17 12:07:24 -07:00

23 lines
510 B
Vue

<template>
<Search />
<MultiContainerLog :ids="ids" :scrollable="pinnedLogs.length > 0" />
</template>
<script lang="ts" setup>
const containerStore = useContainerStore();
const { ready } = storeToRefs(containerStore);
const route = useRoute("/merged/[name]");
const pinnedLogsStore = usePinnedLogsStore();
const { pinnedLogs } = storeToRefs(pinnedLogsStore);
const ids = toRef(() => route.query.id as string[]);
watchEffect(() => {
if (ready.value) {
setTitle("Merged Logs");
}
});
</script>