Get to where I can select communications and see them
This commit is contained in:
parent
5f54cfa6ed
commit
7dd61a06e2
5 changed files with 62 additions and 43 deletions
|
|
@ -5,11 +5,11 @@
|
|||
}
|
||||
|
||||
.report-card:hover {
|
||||
background-color: #f8f9fa;
|
||||
background-color: $secondary;
|
||||
}
|
||||
|
||||
.report-card.active {
|
||||
background-color: #0d6efd;
|
||||
background-color: $primary;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
:key="comm.id"
|
||||
class="list-group-item report-card p-3"
|
||||
:class="{
|
||||
active: selectedCommunication && selectedCommunication.id === comm.id,
|
||||
active: selectedId && selectedId === comm.id,
|
||||
}"
|
||||
@click="handleClick(comm.id)"
|
||||
>
|
||||
|
|
@ -161,7 +161,6 @@ function selectCommunication(communication: Communication) {
|
|||
console.log("selected", communication);
|
||||
emit("select-item", communication);
|
||||
emit("update:selectedItem", communication);
|
||||
//selectedCommunication.value = comm;
|
||||
//messageText.value = "";
|
||||
//updateMap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue