mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01:00
fix: updates
This commit is contained in:
parent
7e16d0ea27
commit
89b11149bf
@ -43,7 +43,7 @@ const RenameCollectionItem = ({ collection, item, onClose }) => {
|
||||
onSubmit: async (values) => {
|
||||
// if there is unsaved changes in the request,
|
||||
// save them before renaming the request
|
||||
if ((item.name === values.name) && (itemFilename === values.filename) {
|
||||
if ((item.name === values.name) && (itemFilename === values.filename)) {
|
||||
return;
|
||||
}
|
||||
if (!isFolder && item.draft) {
|
||||
|
Loading…
Reference in New Issue
Block a user