Fix quitall command

This commit is contained in:
Shin'ya Ueoka 2018-07-28 18:52:39 +09:00
parent 87b4f8e997
commit 7cd606fd70

View file

@ -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) {