Properly convert communication API objects
Gets rid of a warning when showing relative time.
This commit is contained in:
parent
a2b8527d91
commit
63ebe382b6
2 changed files with 5 additions and 3 deletions
|
|
@ -183,7 +183,7 @@ function selectCommunication(communication: Communication) {
|
|||
}
|
||||
|
||||
// Computed properties
|
||||
const filteredCommunications = computed(() => {
|
||||
const filteredCommunications = computed((): Communication[] => {
|
||||
if (props.all == null) {
|
||||
return [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue