Fix quitall command

jh-changes
Shin'ya Ueoka 6 years ago
parent 87b4f8e997
commit 7cd606fd70
  1. 4
      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) {