Update dependencies and fix short unique id v5.0.2

This commit is contained in:
AlphaX-Projects
2023-09-08 16:26:17 +02:00
parent f10f53fdb2
commit e2ddcb555e
8 changed files with 258 additions and 259 deletions

View File

@@ -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

View File

@@ -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",