mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 01:14:23 +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) => {
|
onSubmit: async (values) => {
|
||||||
// if there is unsaved changes in the request,
|
// if there is unsaved changes in the request,
|
||||||
// save them before renaming 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;
|
return;
|
||||||
}
|
}
|
||||||
if (!isFolder && item.draft) {
|
if (!isFolder && item.draft) {
|
||||||
|
Loading…
Reference in New Issue
Block a user