@boarteam/boar-pack-common-frontend 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@boarteam/boar-pack-common-frontend",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "Common frontend package for Boar Pack",
|
|
5
5
|
"repository": "git@github.com:boarteam/boar-pack.git",
|
|
6
6
|
"author": "Andrew Balakirev <balakirev.andrey@gmail.com>",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"scripts": {
|
|
47
47
|
"yalc:push": "yalc push"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "441251d33aa4c5b62f82c351811c581c8c8113a3"
|
|
50
50
|
}
|
|
@@ -254,6 +254,7 @@ const Table = <Entity extends Record<string | symbol, any>,
|
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
256
|
async onDelete(id, row) {
|
|
257
|
+
if (isRecordNew(row)) return;
|
|
257
258
|
await onDelete({ ...row, ...pathParams });
|
|
258
259
|
},
|
|
259
260
|
deletePopconfirmMessage: intl.formatMessage({ id: 'table.deletePopconfirmMessage' }),
|