update to latest wabac.js, includes progress update for wacz, minor fixes

ui: don't show 'capture date' in menu if no date yet
This commit is contained in:
Ilya Kreymer
2020-07-03 17:03:03 -07:00
parent 75ccdd5f00
commit 3e99ec2378
4 changed files with 33 additions and 31 deletions
+2 -1
View File
@@ -377,10 +377,11 @@ class Replay extends LitElement
<a class="dropdown-item" @click="${this.onPurgeCache}"> <a class="dropdown-item" @click="${this.onPurgeCache}">
Purge Cache + Full Reload Purge Cache + Full Reload
</a>` : ``} </a>` : ``}
${dateStr ? html`
<hr class="dropdown-divider is-hidden-desktop"> <hr class="dropdown-divider is-hidden-desktop">
<div class="dropdown-item info is-hidden-desktop"> <div class="dropdown-item info is-hidden-desktop">
<span class="menu-head">Capture Date</span>${dateStr} <span class="menu-head">Capture Date</span>${dateStr}
</div> </div>` : ``}
${this.embed ? html` ${this.embed ? html`
<hr class="dropdown-divider"> <hr class="dropdown-divider">
<a href="https://replayweb.page/" target="_blank" class="dropdown-item info"> <a href="https://replayweb.page/" target="_blank" class="dropdown-item info">
+15 -15
View File
File diff suppressed because one or more lines are too long
+14 -13
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -292,8 +292,8 @@
"@xtuc/long" "4.2.2" "@xtuc/long" "4.2.2"
"@webrecorder/wabac@github:webrecorder/wabac.js": "@webrecorder/wabac@github:webrecorder/wabac.js":
version "2.0.2-beta.0" version "2.0.2"
resolved "https://codeload.github.com/webrecorder/wabac.js/tar.gz/fcbf28686cdbbb0b4b563da11e239373fb619ec5" resolved "https://codeload.github.com/webrecorder/wabac.js/tar.gz/f84a2013c408fb6627e92e9365dae4e1b954fbb9"
dependencies: dependencies:
brotli "github:foliojs/brotli.js" brotli "github:foliojs/brotli.js"
fast-xml-parser "^3.15.1" fast-xml-parser "^3.15.1"