fix not updating member table close #30
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
</template>
|
||||
<template v-slot:body-cell="props">
|
||||
<q-td v-if="props.col.field === 'attendees'" :props="props">
|
||||
<q-btn dense flat icon="people" @click="openAttendees(props.row)"
|
||||
<q-btn dense flat icon="people" @click="openAttendees(props.rowIndex, props.row)"
|
||||
><q-badge color="primary" text-color="primary-text" floating transparent>{{
|
||||
props.row.count
|
||||
}}</q-badge></q-btn
|
||||
@@ -218,8 +218,8 @@ function openRemoveDialog(...Events: Events) {
|
||||
okDialog.value?.open(Events);
|
||||
}
|
||||
|
||||
function openAttendees(attendees: Members | null) {
|
||||
attendeesDialog.value.open(attendees);
|
||||
function openAttendees(eventArray: number, attendees: Members | null) {
|
||||
attendeesDialog.value.open(eventArray, attendees);
|
||||
}
|
||||
|
||||
//remove Event from database
|
||||
@@ -244,20 +244,6 @@ function removeEvent(...removeEvents: Events) {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@keyframes blink-yellow {
|
||||
0%,
|
||||
100% {
|
||||
background-color: yellow;
|
||||
}
|
||||
50% {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.blink-yellow {
|
||||
animation: blink-yellow 1.5s step-start 6 !important;
|
||||
}
|
||||
|
||||
.bigger-table-text .q-table__middle td {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user