Skip to content

Commit

Permalink
fix: path missing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DaKingKong committed Jun 20, 2024
1 parent c9ef7e9 commit affcefe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function getCustomManifest() {

getCustomManifest();

async function showUnresolvedTabPage({ path }) {
async function showUnresolvedTabPage(path) {
const unresolvedLogs = await getAllUnresolvedLogs();
const unresolvedLogsPage = logPage.getUnresolvedLogsPageRender({ unresolvedLogs });
document.querySelector("#rc-widget-adapter-frame").contentWindow.postMessage({
Expand Down Expand Up @@ -347,7 +347,7 @@ window.addEventListener('message', async (e) => {
if (data.path !== '/') {
trackPage(data.path);
if (data.path === '/customizedTabs/unresolve') {
await showUnresolvedTabPage({ currentPath: data.path });
await showUnresolvedTabPage(data.path);
}
}
if (!!data.path) {
Expand Down

0 comments on commit affcefe

Please sign in to comment.