Upgrade Shoelace & Lit (#329)
Related to https://github.com/webrecorder/browsertrix/issues/1836 -- Upgrades Shoelace and Lit to match browsertrix. version: bump to 2.0.2
This commit is contained in:
+2
-4
@@ -12,9 +12,7 @@ import type {
|
||||
SlDropdown,
|
||||
SlSelectEvent,
|
||||
} from "@shoelace-style/shoelace";
|
||||
import "@shoelace-style/shoelace/dist/components/alert/alert.js";
|
||||
import "@shoelace-style/shoelace/dist/components/button/button.js";
|
||||
import "@shoelace-style/shoelace/dist/components/dialog/dialog.js";
|
||||
|
||||
import {
|
||||
wrapCss,
|
||||
IS_APP,
|
||||
@@ -316,7 +314,7 @@ class Item extends LitElement {
|
||||
|
||||
if (
|
||||
this._replaceLoc ||
|
||||
Object.keys(changedProperties.get("tabData")).length === 0
|
||||
Object.keys(changedProperties.get("tabData") || {}).length === 0
|
||||
) {
|
||||
const newLoc = new URL(window.location.href);
|
||||
newLoc.hash = this._locationHash;
|
||||
|
||||
Reference in New Issue
Block a user