We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ec7ba5 commit 4151c70Copy full SHA for 4151c70
visualpython/js/com/com_Config.js
@@ -782,7 +782,11 @@ define([
782
checkVpVersion(background=false) {
783
let that = this;
784
let nowVersion = this.getVpInstalledVersion();
785
- this.getPackageVersion().then(function(latestVersion) {
+ let packageName = 'visualpython';
786
+ if (this.extensionType === 'lab') {
787
+ packageName = 'jupyterlab-visualpython';
788
+ }
789
+ this.getPackageVersion(packageName).then(function(latestVersion) {
790
if (nowVersion === latestVersion) {
791
// if it's already up to date
792
// hide version update icon
0 commit comments