mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-04 02:39:14 +02:00
feat:#11 merge conflicts
This commit is contained in:
@@ -27,6 +27,7 @@ export async function fetchModulesByCourseAndSemester(
|
||||
modulesResponse.forEach((module: Module) =>
|
||||
modules.push(
|
||||
new Module(
|
||||
module.uuid,
|
||||
module.name,
|
||||
course,
|
||||
module.name,
|
||||
@@ -50,6 +51,7 @@ export async function fetchAllModules(): Promise<Module[]> {
|
||||
responseModules.forEach((module: Module) => {
|
||||
modules.push(
|
||||
new Module(
|
||||
module.uuid,
|
||||
module.name,
|
||||
module.course,
|
||||
module.name,
|
||||
|
@@ -16,6 +16,7 @@ export async function fetchModule(name: string): Promise<Module> {
|
||||
.then(
|
||||
(module: Module) =>
|
||||
new Module(
|
||||
module.uuid,
|
||||
module.name,
|
||||
module.course,
|
||||
module.name,
|
||||
|
@@ -39,7 +39,7 @@ const ModuleInformation = defineAsyncComponent(
|
||||
);
|
||||
|
||||
async function showInfo(moduleName: string) {
|
||||
const module: Ref<Module> = ref(new Module("", "", "", "", "", []));
|
||||
const module: Ref<Module> = ref(new Module("", "", "", "", "", "", []));
|
||||
await fetchModule(moduleName).then((data) => {
|
||||
module.value = data;
|
||||
});
|
||||
|
@@ -37,7 +37,7 @@ const ModuleInformation = defineAsyncComponent(
|
||||
);
|
||||
|
||||
async function showInfo(moduleName: string) {
|
||||
const module: Ref<Module> = ref(new Module("", "", "", "", "", []));
|
||||
const module: Ref<Module> = ref(new Module("", "", "", "", "", "", []));
|
||||
await fetchModule(moduleName).then((data) => {
|
||||
module.value = data;
|
||||
});
|
||||
|
@@ -2,6 +2,7 @@ import { Event } from "./event";
|
||||
|
||||
export class Module {
|
||||
constructor(
|
||||
public uuid: string,
|
||||
public name: string,
|
||||
public course: string,
|
||||
public userDefinedName: string,
|
||||
|
Reference in New Issue
Block a user