Commit 8e97439 1 parent b170e6f commit 8e97439 Copy full SHA for 8e97439
File tree 3 files changed +11
-6
lines changed
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,10 @@ export default {
139
139
}
140
140
</script >
141
141
<style scoped>
142
- .app-drawer {
143
- background : inherit !important ;
142
+ .theme--light.app-drawer {
143
+ background : #fafafa !important ;
144
+ }
145
+ .theme--dark.app-drawer {
146
+ background : rgb (48 , 48 , 48 ) !important ;
144
147
}
145
148
</style >
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export default {
101
101
}
102
102
}
103
103
</script >
104
- <style lang="scss">
104
+ <style lang="scss" scoped >
105
105
.list-item-btn-hover {
106
106
display : none ;
107
107
}
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ const storeTabs = async (tabs, listIndex) => {
64
64
if ( opts . ignorePinned ) tabs = tabs . filter ( i => ! i . pinned )
65
65
if ( opts . excludeIllegalURL ) tabs = tabs . filter ( i => isLegalURL ( i . url ) )
66
66
if ( tabs . length === 0 ) return
67
- browser . tabs . remove ( tabs . map ( i => i . id ) )
68
67
const lists = await storage . getLists ( )
69
68
if ( listIndex == null ) {
70
69
const newList = createNewTabList ( { tabs} )
@@ -85,6 +84,7 @@ const storeTabs = async (tabs, listIndex) => {
85
84
}
86
85
}
87
86
}
87
+ return browser . tabs . remove ( tabs . map ( i => i . id ) )
88
88
}
89
89
90
90
const storeLeftTabs = async listIndex => storeTabs ( ( await groupTabsInCurrentWindow ( ) ) . left , listIndex )
@@ -109,10 +109,12 @@ const storeAllTabInAllWindows = async () => {
109
109
const windows = await browser . windows . getAll ( )
110
110
const opts = await storage . getOptions ( )
111
111
if ( opts . openTabListNoTab ) await openTabLists ( )
112
+ const tasks = [ ]
112
113
for ( const window of windows ) {
113
- const tabs = await getAllInWindow ( window . id )
114
- await storeTabs ( tabs )
114
+ const task = getAllInWindow ( window . id ) . then ( storeTabs )
115
+ tasks . push ( task )
115
116
}
117
+ return Promise . all ( tasks )
116
118
}
117
119
118
120
const restoreList = async ( list , windowId ) => {
You can’t perform that action at this time.
0 commit comments