Skip to content

Commit

Permalink
fix: notification to upgrade dashboard for latest features not working (
Browse files Browse the repository at this point in the history
  • Loading branch information
visualfanatic authored Oct 30, 2021
1 parent c819c49 commit 81361b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parse-Dashboard/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var fs = require('fs');
const currentVersionFeatures = require('../package.json').parseDashboardFeatures;

var newFeaturesInLatestVersion = [];
packageJson('parse-dashboard', 'latest').then(latestPackage => {
packageJson('parse-dashboard', { version: 'latest', fullMetadata: true }).then(latestPackage => {
if (latestPackage.parseDashboardFeatures instanceof Array) {
newFeaturesInLatestVersion = latestPackage.parseDashboardFeatures.filter(feature => {
return currentVersionFeatures.indexOf(feature) === -1;
Expand Down

0 comments on commit 81361b6

Please sign in to comment.