diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-07-28 18:52:39 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-07-28 18:52:39 +0900 |
commit | 7cd606fd70271d614292a732db3b19afbee6c63b (patch) | |
tree | b89fadd05874687f649e5218383811004ee6ead6 /src/background | |
parent | 87b4f8e99718c22b1d0b3d0772a4d7b4b58b848c (diff) |
Fix quitall command
Diffstat (limited to 'src/background')
-rw-r--r-- | src/background/usecases/command.js | 4 |
1 files 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) { |