diff --git a/packages/ui/src/store.ts b/packages/ui/src/store.ts index 6915ff89..d4053f18 100644 --- a/packages/ui/src/store.ts +++ b/packages/ui/src/store.ts @@ -1580,8 +1580,15 @@ export const store = createStore({ await context.dispatch('refreshWorkspace') } else { + console.log('collectionItem headers and authentication updated') collectionItem.headers = headers collectionItem.authentication = authentication + + // keep tab properties in tabs in sync with collectionItem + const tab = store.state.tabs.find(tab => tab._id === collectionItem._id) + if(tab) { + Object.assign(tab, collectionItem) + } } return {