mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
fix lint warnings
This commit is contained in:
parent
efa45cade6
commit
195142c249
@ -15,7 +15,6 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {SimpleTile} from "./SimpleTile.js";
|
import {SimpleTile} from "./SimpleTile.js";
|
||||||
import {TileShape} from "./ITile";
|
|
||||||
import {ReactionsViewModel} from "../ReactionsViewModel.js";
|
import {ReactionsViewModel} from "../ReactionsViewModel.js";
|
||||||
import {getIdentifierColorNumber, avatarInitials, getAvatarHttpUrl} from "../../../../avatar";
|
import {getIdentifierColorNumber, avatarInitials, getAvatarHttpUrl} from "../../../../avatar";
|
||||||
|
|
||||||
|
@ -51,7 +51,6 @@ export class SimpleTile extends ViewModel {
|
|||||||
|
|
||||||
_updateDateSeparator(prev) {
|
_updateDateSeparator(prev) {
|
||||||
if (prev && prev._date && this._date) {
|
if (prev && prev._date && this._date) {
|
||||||
const neededDateSeparator = this._needsDateSeparator;
|
|
||||||
this._needsDateSeparator = prev._date.getFullYear() !== this._date.getFullYear() ||
|
this._needsDateSeparator = prev._date.getFullYear() !== this._date.getFullYear() ||
|
||||||
prev._date.getMonth() !== this._date.getMonth() ||
|
prev._date.getMonth() !== this._date.getMonth() ||
|
||||||
prev._date.getDate() !== this._date.getDate();
|
prev._date.getDate() !== this._date.getDate();
|
||||||
|
Loading…
Reference in New Issue
Block a user