only edit name in browse bar if obj creatable (#3616)

This commit is contained in:
Jamie V 2020-12-22 11:31:30 -08:00 committed by GitHub
parent cbac495f93
commit 351848ad56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@
</div>
<span
class="l-browse-bar__object-name c-object-label__name c-input-inline"
contenteditable
:contenteditable="type.creatable"
@blur="updateName"
@keydown.enter.prevent
@keyup.enter.prevent="updateNameOnEnterKeyPress"