Skip to content

Commit

Permalink
fix reference bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sagerb committed Jan 30, 2025
1 parent 0c3b8b7 commit fe3436e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
Scan
</vscode-button>
</template>
<template v-if="!home.python.active.isInProject">
<template v-else-if="!home.python.active.isInProject">
<p>
This project is not configured to use Python. To configure Python, add
a [python] section to your configuration file.
</p>
</template>
<template v-if="home.python.active.isEmptyRequirements">
<template v-else-if="home.python.active.isEmptyRequirements">
<p>
This project currently has no Python package requirements. If this is
not accurate, click Scan to update based on the files in your project
Expand Down
2 changes: 1 addition & 1 deletion extensions/vscode/webviews/homeView/src/stores/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export const useHomeStore = defineStore("home", () => {
);
}),
isInProject: computed(() => {
return pythonProject;
return pythonProject.value;
}),
},
};
Expand Down

0 comments on commit fe3436e

Please sign in to comment.