Skip to content

Commit

Permalink
Fixed tab version popup
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmesh-hemaram committed Jan 13, 2024
1 parent e3d5624 commit 82f6cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/acf-extension/src/background/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ try {
*/
chrome.runtime.onInstalled.addListener((details) => {
if (details.reason === 'update') {
TabsMessenger.optionsTab({ url: `${OPTIONS_PAGE_URL}?version=${details.previousVersion}` });
TabsMessenger.optionsTab({ url: `${OPTIONS_PAGE_URL}?version=${chrome.runtime.getManifest().version}` });
} else if (details.reason === 'install') {
TabsMessenger.optionsTab({ url: OPTIONS_PAGE_URL });
}
Expand Down

0 comments on commit 82f6cf6

Please sign in to comment.