mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
cleanup
This commit is contained in:
parent
c4e239a401
commit
2136b051a0
@ -55,9 +55,6 @@ export class SimpleTile extends ViewModel {
|
|||||||
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();
|
||||||
if (neededDateSeparator && !this._needsDateSeparator) {
|
|
||||||
console.log("clearing needsDateSeparator", {this: this._entry.content, prev: prev.content});
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
this._needsDateSeparator = !!this._date;
|
this._needsDateSeparator = !!this._date;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user