Handle missing this.$refs.textboxKey ref
This commit is contained in:
parent
599c31534d
commit
9d04842c56
1 changed files with 3 additions and 1 deletions
|
|
@ -98,7 +98,9 @@ export default {
|
||||||
this.$emit("input", newSelected);
|
this.$emit("input", newSelected);
|
||||||
|
|
||||||
// Move focus back to key textbox
|
// Move focus back to key textbox
|
||||||
this.$refs.textboxKey.focus();
|
if (this.$refs.textboxKey) {
|
||||||
|
this.$refs.textboxKey.focus();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
delMetadataKey: function(key) {
|
delMetadataKey: function(key) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue