Skip to content

Commit e2f9ee3

Browse files
committed
fix empty list view
1 parent 671ad24 commit e2f9ee3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/webact.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ function getTabsFromStorage(tabs) {
4545
targetTabs = [];
4646

4747
ui.clearUI();
48+
if (tabs === null){
49+
ui.fillEmptyBlock();
50+
return;
51+
}
4852

4953
if (currentTypeOfList === TypeListEnum.All) {
5054
targetTabs = tabs.sort(function (a, b) {

0 commit comments

Comments
 (0)