chore: Move open terminal in new tab to terminal component

This commit is contained in:
Justin Lin committed 2026-02-27 16:02:28 +11:00
1 parent ab4d06498a
commit 5b7bf0794c
12 files changed
+24 -19

No files matched your search

+1 -6
View File
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { computed } from 'vue'
import MarkdownText from '../MarkdownText.vue'
import useSession from '../../store/session'
import { useSession } from '../../store/session'
const sessionStore = useSession()
const tasks = computed(() => {
@@ -22,11 +22,6 @@ const tasks = computed(() => {
<div class="h-full w-full max-h-full">
<p id="topic" class="text-text font-black" v-if="sessionStore.quest">
{{ sessionStore.quest.title }}
<a
:href="`http://localhost/terminal/${sessionStore.session?.containerName}?token=${sessionStore.session?.token}`"
>
Open Terminal
</a>
</p>
<br />
<div>