Skip to content

Commit 04c6233

Browse files
committed
fix filtering when no query
1 parent 8e5b240 commit 04c6233

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pageentry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { property, state } from "lit/decorators.js";
55

66
import "keyword-mark-element/lib/keyword-mark.js";
77

8-
import { getReplayLink } from "./pageutils";
8+
import { getPageDateTS, getReplayLink } from "./pageutils";
99

1010
import { wrapCss } from "./misc";
1111
import type { URLResource } from "./types";
@@ -192,7 +192,7 @@ class PageEntry extends LitElement {
192192

193193
render() {
194194
const p = this.page!;
195-
const date = this.page!.date;
195+
const { date } = getPageDateTS(p);
196196

197197
const hasSize = typeof p.size === "number";
198198

src/pages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class Pages extends LitElement {
303303
continue;
304304
}
305305

306-
if (!this.showAllPages && !isSeed) {
306+
if (!this.showAllPages && this.hasExtraPages && !this.query && !isSeed) {
307307
continue;
308308
}
309309

0 commit comments

Comments
 (0)