mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-18 18:48:50 +02:00
formated and linted
This commit is contained in:
@ -16,9 +16,12 @@ type ModuleWithSelection = { module: Module; selected: boolean };
|
||||
// array of modules with boolean if selected with getter and setter
|
||||
const modulesWithSelection: Ref<ModuleWithSelection[]> = ref(
|
||||
props.modules.map((propModule) => {
|
||||
return { module: propModule, selected: moduleStore().modules.some((module: Module) =>
|
||||
return {
|
||||
module: propModule,
|
||||
selected: moduleStore().modules.some((module: Module) =>
|
||||
module.isEqual ? module.isEqual(propModule) : false,
|
||||
), };
|
||||
),
|
||||
};
|
||||
}),
|
||||
);
|
||||
|
||||
@ -129,4 +132,4 @@ function nextStep() {
|
||||
width: 50rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user