Fixed bug which prevented previous metadata from being loaded when updating a website.

This commit is contained in:
CalDescent 2022-03-15 22:41:37 +00:00
parent 1f25d66767
commit f65779d13e

View File

@ -589,7 +589,7 @@ class PublishData extends LitElement {
let name = this.shadowRoot.getElementById('registeredName')
this.selectedName = (name.value)
// Update the current name if one has been selected
if (name.length > 0) {
if (name.value.length > 0) {
this.name = (name.value)
}
this.fetchResourceMetadata();