@lingk/sync 0.0.98 → 0.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1310,7 +1310,7 @@ module.exports =
1310
1310
  /*********
1311
1311
  ADDED THIS
1312
1312
  **********/
1313
- if (args[0] && args[0].style && args[0].style.color !== '#AAAAAA') {
1313
+ if (args[0] && (!args[0].style || args[0].style && args[0].style.color !== '#AAAAAA')) {
1314
1314
  _this5.setState({ opened: false });
1315
1315
  }
1316
1316
  /***********************/