Close only unpinned tabs;

jh-changes
Shin'ya Ueoka 6 years ago
parent c03ab2862b
commit 54bbe4ecbd
  1. 5
      src/background/usecases/operation.js

@ -29,7 +29,10 @@ export default class OperationInteractor {
return;
}
for (let i = index + 1; i < tabs.length; ++i) {
this.tabPresenter.remove(tabs[i].id);
let tab = tabs[i];
if (!tab.pinned) {
this.tabPresenter.remove(tab.id);
}
}
}