mirror of https://github.com/nextcloud/bookmarks
Fix input.focus error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
3db5ab3125
commit
16e872ec81
|
@ -154,7 +154,9 @@ export default {
|
|||
},
|
||||
},
|
||||
mounted() {
|
||||
this.$refs.input.focus()
|
||||
if (typeof this.$refs.input !== 'undefined') {
|
||||
this.$refs.input.focus()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async onRenameSubmit(event) {
|
||||
|
|
Loading…
Reference in New Issue