adminforth 1.3.36 → 1.3.38
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.
|
@@ -301,7 +301,7 @@ export default class ConfigValidator {
|
|
|
301
301
|
});
|
|
302
302
|
res.options.bulkActions = bulkActions;
|
|
303
303
|
// if pageInjection is a string, make array with one element. Also check file exists
|
|
304
|
-
const possibleInjections = ['beforeBreadcrumbs', 'afterBreadcrumbs', 'bottom', 'threeDotsDropdownItems'];
|
|
304
|
+
const possibleInjections = ['beforeBreadcrumbs', 'afterBreadcrumbs', 'bottom', 'threeDotsDropdownItems', 'customActionIcons'];
|
|
305
305
|
const possiblePages = ['list', 'show', 'create', 'edit'];
|
|
306
306
|
if (res.options.pageInjections) {
|
|
307
307
|
Object.entries(res.options.pageInjections).map(([key, value]) => {
|
|
@@ -351,7 +351,7 @@ export default class ConfigValidator implements IConfigValidator {
|
|
|
351
351
|
res.options.bulkActions = bulkActions;
|
|
352
352
|
|
|
353
353
|
// if pageInjection is a string, make array with one element. Also check file exists
|
|
354
|
-
const possibleInjections = ['beforeBreadcrumbs', 'afterBreadcrumbs', 'bottom', 'threeDotsDropdownItems'];
|
|
354
|
+
const possibleInjections = ['beforeBreadcrumbs', 'afterBreadcrumbs', 'bottom', 'threeDotsDropdownItems', 'customActionIcons'];
|
|
355
355
|
const possiblePages = ['list', 'show', 'create', 'edit'];
|
|
356
356
|
|
|
357
357
|
if (res.options.pageInjections) {
|
package/package.json
CHANGED
|
@@ -165,9 +165,9 @@
|
|
|
165
165
|
</div>
|
|
166
166
|
|
|
167
167
|
<component
|
|
168
|
-
v-if="coreStore.resourceOptions?.pageInjections?.
|
|
169
|
-
:is="getCustomComponent(coreStore.resourceOptions?.pageInjections?.
|
|
170
|
-
:meta="coreStore.resourceOptions?.pageInjections?.
|
|
168
|
+
v-if="coreStore.resourceOptions?.pageInjections?.list?.customActionIcons"
|
|
169
|
+
:is="getCustomComponent(coreStore.resourceOptions?.pageInjections?.list?.customActionIcons)"
|
|
170
|
+
:meta="coreStore.resourceOptions?.pageInjections?.list?.customActionIcons.meta"
|
|
171
171
|
:resource="coreStore.resource"
|
|
172
172
|
:adminUser="coreStore.adminUser"
|
|
173
173
|
:record="row"
|