aboutsummaryrefslogtreecommitdiff
path: root/src/background/presenters
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-05-24 21:51:18 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-05-24 21:51:18 +0900
commit8d0739463d970deae2ebdd88eedac29e9c4379ff (patch)
tree72cda1df081e5d094c39cab5444855cf09669b0d /src/background/presenters
parente779fb1779f33fb15857b5d20cb72a4b00d20f77 (diff)
Move open parent and open root to background
Diffstat (limited to 'src/background/presenters')
-rw-r--r--src/background/presenters/TabPresenter.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/presenters/TabPresenter.ts b/src/background/presenters/TabPresenter.ts
index 5665bf0..5e6e56e 100644
--- a/src/background/presenters/TabPresenter.ts
+++ b/src/background/presenters/TabPresenter.ts
@@ -36,7 +36,7 @@ export default class TabPresenter {
return tabId;
}
- async getByKeyword(keyword: string, excludePinned = false): Promise<Tab[]> {
+ async getByKeyword(keyword: string, excludePinned: boolean = false): Promise<Tab[]> {
let tabs = await browser.tabs.query({ currentWindow: true });
return tabs.filter((t) => {
return t.url && t.url.toLowerCase().includes(keyword.toLowerCase()) ||