Browse Source

new nighly

tripeur 4 years ago
parent
commit
7300efffbd
3 changed files with 2 additions and 2 deletions
  1. 1 1
      lib/Timeline.js
  2. 0 0
      lib/Timeline.js.map
  3. 1 1
      package.json

+ 1 - 1
lib/Timeline.js

@@ -177,7 +177,7 @@ let Timeline = class Timeline extends lit_element_1.LitElement {
             }
             else {
                 ressource[key] = value;
-                this.rows.splice(this.rows.findIndex(r => r.id == ressource.id), 1, ressource);
+                this.rows = this.rows.map(r => r.id == ressource.id ? ressource : r);
             }
         }
     }

File diff suppressed because it is too large
+ 0 - 0
lib/Timeline.js.map


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "jc-timeline",
-  "version": "0.1.2",
+  "version": "0.1.3",
   "description": "web component to manage ressources in time",
   "main": "./lib/main.js",
   "types": "./lib/main.d.ts",

Some files were not shown because too many files changed in this diff