mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2026-01-17 04:12:26 +01:00
added dialog information transfer
This commit is contained in:
@@ -38,10 +38,9 @@ const ModuleInformation = defineAsyncComponent(
|
||||
);
|
||||
|
||||
//TODO add missing module prop informations for ModuleInformation.vue
|
||||
const showInfo = () => {
|
||||
function showInfo(module : Module) {
|
||||
dialog.open(ModuleInformation, {
|
||||
props: {
|
||||
header: "Product List",
|
||||
style: {
|
||||
width: "50vw",
|
||||
},
|
||||
@@ -51,8 +50,11 @@ const showInfo = () => {
|
||||
},
|
||||
modal: true,
|
||||
},
|
||||
data: {
|
||||
module: module,
|
||||
},
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
const display = (module: Module) => module.name + " (" + module.course + ")";
|
||||
|
||||
@@ -106,7 +108,7 @@ function selectChange() {
|
||||
rounded
|
||||
outlined
|
||||
aria-label="Information"
|
||||
@click.stop="showInfo()"
|
||||
@click.stop="showInfo(slotProps.option)"
|
||||
></Button>
|
||||
<DynamicDialog />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user