Files
htwkalender-pwa/frontend/src/components/ModuleInformation.vue
2023-10-17 00:04:10 +02:00

26 lines
467 B
Vue

<script lang="ts" setup>
import { inject } from "vue";
import { Module } from "../model/module.ts";
const dialogRef = inject("dialogRef") as any;
const module = dialogRef.value.data.module as Module;
console.debug(module);
</script>
<template>
<div>
<h2>{{ module.name }}</h2>
<table>
<tr>
<td>Course:</td>
<td>{{ module.course }}</td>
</tr>
<tr>
<td>Termine:</td>
</tr>
</table>
</div>
</template>