upgrade react framework
[sdc.git] / dox-sequence-diagram-ui / src / main / webapp / lib / ecomp / asdc / sequencer / components / editor / components / designer / Designer.jsx
index 39ed090..c67c68e 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Copyright © 2016-2017 European Support Limited
+ * Copyright © 2016-2018 European Support Limited
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -160,7 +160,7 @@ class Designer extends React.Component {
   addMessage() {
 
     if (this.application.getModel().unwrap().diagram.lifelines.length < 2) {
-      self.application.showErrorDialog('You need at least two lifelines.');
+      this.application.showErrorDialog('You need at least two lifelines.');
       return;
     }