Skip to content

Commit

Permalink
Provide default values for migrations, lib updates. Fixes #1802 (#1803)
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed Jul 24, 2020
1 parent 1f797e3 commit 1517e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/visualizers/panels/Sidebar/SidebarPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ define([
};

SidebarPanel.prototype.applyUpdates = async function (updates) {
const [seedUpdates, earlyMigrations, migrations] = Utils.partition(
const [seedUpdates=[], earlyMigrations=[], migrations=[]] = Utils.partition(
updates,
update => {
if (update.type === Updates.SEED) {
Expand Down

0 comments on commit 1517e86

Please sign in to comment.