Преглед на файлове

use emptyList in clear event

tripeur преди 4 години
родител
ревизия
d1cc803b00
променени са 3 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      lib/Timeline.js
  2. 0 0
      lib/Timeline.js.map
  3. 1 1
      src/Timeline.ts

+ 1 - 1
lib/Timeline.js

@@ -41,7 +41,7 @@ let Timeline = class Timeline extends lit_element_1.LitElement {
             this.clearSelectedItems();
             window.removeEventListener("click", this._clearSelectionHandler);
             const myEvent = new CustomEvent("item-selected", {
-                detail: { items: this.selectedList },
+                detail: { items: [] },
                 bubbles: true,
                 composed: true,
             });

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
lib/Timeline.js.map


+ 1 - 1
src/Timeline.ts

@@ -599,7 +599,7 @@ class Timeline extends LitElement {
     this.clearSelectedItems();
     window.removeEventListener("click", this._clearSelectionHandler);
     const myEvent = new CustomEvent("item-selected", {
-      detail: { items: this.selectedList },
+      detail: { items: [] },
       bubbles: true,
       composed: true,
     });

Някои файлове не бяха показани, защото твърде много файлове са промени