Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Commit

Permalink
[fix] set empty string for old maps undefined branch color
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Mar 23, 2018
1 parent 0ad275e commit 9149825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/handlers/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export default class History {
};
node.colors = {
background: oldNode.value["background-color"],
branch: oldNode.value["branch-color"],
branch: oldNode.value["branch-color"] || "",
name: oldNode.value["text-color"]
};
node.font = {
Expand Down

0 comments on commit 9149825

Please sign in to comment.