Skip to content

Commit 2a4479a

Browse files
committed
clone rows for requried field
1 parent acc1c22 commit 2a4479a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dashboard/Data/Browser/Browser.react.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,8 @@ class Browser extends DashboardView {
10251025
}
10261026
});
10271027
} catch (error) {
1028-
if (error.code === 137) {
1028+
//for duplicate error or password missing error
1029+
if (error.code === 137 || error.code === 201) {
10291030
let failedSaveObj = [];
10301031
let savedObjects = [];
10311032
toClone.forEach(cloneObj => {
@@ -1045,7 +1046,6 @@ class Browser extends DashboardView {
10451046
this.addEditCloneRows(failedSaveObj);
10461047
}
10471048
this.setState({
1048-
selection: {},
10491049
showCloneSelectedRowsDialog: false
10501050
});
10511051
this.showNote(error.message, true);

0 commit comments

Comments
 (0)