From 7cd606fd70271d614292a732db3b19afbee6c63b Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 28 Jul 2018 18:52:39 +0900 Subject: [PATCH] Fix quitall command --- src/background/usecases/command.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/background/usecases/command.js b/src/background/usecases/command.js index 7887509..3dbf768 100644 --- a/src/background/usecases/command.js +++ b/src/background/usecases/command.js @@ -78,10 +78,10 @@ export default class CommandIndicator { return this.tabPresenter.remove([tab.id]); } - async quitall() { + async quitAll() { let tabs = await this.tabPresenter.getAll(); let ids = tabs.map(tab => tab.id); - this.tabPresenter.tabPresenter.remove(ids); + this.tabPresenter.remove(ids); } async addbookmark(title) {