|
|
|
@ -88,7 +88,7 @@ export class Connections extends HTMLElement {
|
|
|
|
bGroup.addPrimary(this.text.add, () => {
|
|
|
|
bGroup.addPrimary(this.text.add, () => {
|
|
|
|
const path = edit.pageInput.value
|
|
|
|
const path = edit.pageInput.value
|
|
|
|
const access = edit.accessSelect.value
|
|
|
|
const access = edit.accessSelect.value
|
|
|
|
const exists = localStorage.getItem(path)
|
|
|
|
const exists = this.checkExists(path)
|
|
|
|
if (!exists) {
|
|
|
|
if (!exists) {
|
|
|
|
edit.error = 'doesntExist'
|
|
|
|
edit.error = 'doesntExist'
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|