@gadmin2n/prisma-react-generator 0.0.59 → 0.0.61
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.
|
@@ -205,9 +205,14 @@ export const ${model.name}List: React.FC<IResourceComponentsProps> = () => {
|
|
|
205
205
|
),
|
|
206
206
|
extra: (
|
|
207
207
|
<ListPageHeader
|
|
208
|
+
actions={[
|
|
209
|
+
...tableConfig.toolbar.actions,
|
|
210
|
+
...tableConfig.rowSelection.actions,
|
|
211
|
+
]}
|
|
208
212
|
importProps={importProps}
|
|
209
213
|
onExport={triggerExport}
|
|
210
214
|
exportLoading={exportLoading}
|
|
215
|
+
onRefresh={() => tableQueryResult.refetch()}
|
|
211
216
|
resourceName={resourceName}
|
|
212
217
|
/>
|
|
213
218
|
),
|
|
@@ -238,6 +243,7 @@ export const ${model.name}List: React.FC<IResourceComponentsProps> = () => {
|
|
|
238
243
|
<RowActions
|
|
239
244
|
record={record}
|
|
240
245
|
actions={tableConfig.rowActions.actions}
|
|
246
|
+
visibleNum={tableConfig.rowActions.visibleNum}
|
|
241
247
|
onUpdate={batchOps.updateOne}
|
|
242
248
|
updateLoading={batchOps.updateManyIsLoading}
|
|
243
249
|
t={t}
|
package/package.json
CHANGED