SearchResults: lint

This commit is contained in:
Mary Strodl 2021-01-26 18:56:53 -05:00 committed by Nachtalb
parent e6856a9e7d
commit 49cd90d0e9
No known key found for this signature in database
GPG Key ID: E48DF13C07055D92

View File

@ -56,7 +56,7 @@
aria-relevant="additions" aria-relevant="additions"
> >
<template v-for="(message, id) in messages"> <template v-for="(message, id) in messages">
<div class="result" v-on:click="jump(message, id)"> <div :key="message.id" class="result" @:click="jump(message, id)">
<DateMarker <DateMarker
v-if="shouldDisplayDateMarker(message, id)" v-if="shouldDisplayDateMarker(message, id)"
:key="message.date" :key="message.date"
@ -216,15 +216,15 @@ export default {
// TODO: Implement jumping to messages! // TODO: Implement jumping to messages!
// This is difficult because it means client will need to handle a potentially nonlinear message set // This is difficult because it means client will need to handle a potentially nonlinear message set
// (loading IntersectionObserver both before AND after the messages) // (loading IntersectionObserver both before AND after the messages)
// this.$router.push({ this.$router.push({
// name: "MessageList", name: "MessageList",
// params: { params: {
// id: this.chan.id, id: this.chan.id,
// }, },
// query: { query: {
// focused: id focused: id,
// } },
// }); });
}, },
}, },
}; };