mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-04 02:39:14 +02:00
fix:#16 fixed empty module construction
This commit is contained in:
@@ -39,7 +39,7 @@ const ModuleInformation = defineAsyncComponent(
|
|||||||
);
|
);
|
||||||
|
|
||||||
async function showInfo(moduleName: string) {
|
async function showInfo(moduleName: string) {
|
||||||
const module: Ref<Module> = ref(new Module("", "", "", "", "", []));
|
const module: Ref<Module> = ref(new Module("", "", "", "", "", "", []));
|
||||||
await fetchModule(moduleName).then((data) => {
|
await fetchModule(moduleName).then((data) => {
|
||||||
module.value = data;
|
module.value = data;
|
||||||
});
|
});
|
||||||
|
@@ -37,7 +37,7 @@ const ModuleInformation = defineAsyncComponent(
|
|||||||
);
|
);
|
||||||
|
|
||||||
async function showInfo(moduleName: string) {
|
async function showInfo(moduleName: string) {
|
||||||
const module: Ref<Module> = ref(new Module("", "", "", "", "", []));
|
const module: Ref<Module> = ref(new Module("", "", "", "", "", "", []));
|
||||||
await fetchModule(moduleName).then((data) => {
|
await fetchModule(moduleName).then((data) => {
|
||||||
module.value = data;
|
module.value = data;
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user