mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-11-03 06:07:51 +00:00
Update dependencies and fix short unique id v5.0.2
This commit is contained in:
@@ -457,7 +457,7 @@ class ShowPlugin extends connect(store)(LitElement) {
|
||||
const lengthOfTabs = this.tabs.length
|
||||
this.addTab({
|
||||
url: "",
|
||||
id: this.uid()
|
||||
id: this.uid.rnd()
|
||||
})
|
||||
this.currentTab = lengthOfTabs
|
||||
}}
|
||||
@@ -737,7 +737,7 @@ class ShowPlugin extends connect(store)(LitElement) {
|
||||
if (this.tabs.length === 0) {
|
||||
this.addTab({
|
||||
url: "",
|
||||
id: this.uid()
|
||||
id: this.uid.rnd()
|
||||
})
|
||||
} else {
|
||||
const copiedTabs = [...this.tabs]
|
||||
@@ -1876,7 +1876,7 @@ class NavBar extends connect(store)(LitElement) {
|
||||
async addToMyMenuPlugins() {
|
||||
this.newId = ''
|
||||
const newUid = new ShortUniqueId({ length: 10 })
|
||||
this.newId = 'plugin-' + newUid()
|
||||
this.newId = 'plugin-' + newUid.rnd()
|
||||
|
||||
this.pluginType = this.shadowRoot.getElementById("pluginTypeInput").value
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ export const newMessageNotificationQappLocal = (data) => {
|
||||
}
|
||||
const tab = {
|
||||
url: `qdn/browser/index.html${query}`,
|
||||
id: uid(),
|
||||
id: uid.rnd(),
|
||||
myPlugObj: {
|
||||
"url": service === 'WEBSITE' ? "websites" : "qapps",
|
||||
"domain": "core",
|
||||
@@ -232,7 +232,7 @@ export const newMessageNotificationQappLocal = (data) => {
|
||||
}
|
||||
const tab = {
|
||||
url: `qdn/browser/index.html${query}`,
|
||||
id: uid(),
|
||||
id: uid.rnd(),
|
||||
myPlugObj: {
|
||||
"url": service === 'WEBSITE' ? "websites" : "qapps",
|
||||
"domain": "core",
|
||||
|
||||
Reference in New Issue
Block a user