feat: show pin icon on home session's pinned tabs too
TabBar's pin icon now shows for both virtual pinned tabs (injected from other sessions) AND the home session's own pinned terminal tabs (those with tab.pin !== undefined). Previously only virtual tabs got the icon — the home tab looked like a regular terminal despite being pinned.
This commit is contained in:
@@ -184,7 +184,7 @@ export function TabBar(props: {
|
||||
>
|
||||
<div ref={listRef} className={css.tabList}>
|
||||
{tabs.map(tab => {
|
||||
const pinned = isPinnedVirtualTab(tab)
|
||||
const pinned = isPinnedVirtualTab(tab) || tab.pin !== undefined
|
||||
return (
|
||||
<div
|
||||
key={tab.id}
|
||||
|
||||
Reference in New Issue
Block a user