Skip to content

Commit

Permalink
Merge pull request #6547 from acoumb/main
Browse files Browse the repository at this point in the history
Update bulk actions docs
  • Loading branch information
sofietoft authored Oct 15, 2024
2 parents 9730418 + 789427d commit 5d72634
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions 10/umbraco-commerce/key-concepts/bulk-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ App_Plugins\MyPlugin\package.manifest
5. Inject a bulk action inside the `umbraco-commerce-bulk-actions-config.js` by adding the following:

```csharp
angular.module('umbracoCommerce')
.config(['umbracoCommerceActionsProvider', function (umbracoCommerceActionsProvider) {
umbracoCommerceActionsProvider.bulkActions.push(['myResource', function (myResource)
angular.module('umbraco.commerce')
.config(['ucActionsProvider', function (ucActionsProvider) {
ucActionsProvider.bulkActions.push(['myResource', function (myResource)
{
return {
name: 'My Action',
Expand Down Expand Up @@ -95,9 +95,9 @@ Only an `itemAction` or a `bulkAction` method can be defined for a bulk action c
The following section display an example of a bulk action with dialog configuration step:

```csharp
angular.module('umbracoCommerce')
.config(['umbracoCommerceActionsProvider', function (umbracoCommerceActionsProvider) {
umbracoCommerceActionsProvider.bulkActions.push(['$q', 'editorService', 'myResource', function ($q, editorService, myResource)
angular.module('umbraco.commerce')
.config(['ucActionsProvider', function (ucActionsProvider) {
ucActionsProvider.bulkActions.push(['$q', 'editorService', 'myResource', function ($q, editorService, myResource)
{
return {
name: 'My Action',
Expand Down
12 changes: 6 additions & 6 deletions 13/umbraco-commerce/key-concepts/bulk-actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ App_Plugins\MyPlugin\package.manifest
5. Inject a bulk action inside the `umbraco-commerce-bulk-actions-config.js` by adding the following:

```csharp
angular.module('umbracoCommerce')
.config(['umbracoCommerceActionsProvider', function (umbracoCommerceActionsProvider) {
umbracoCommerceActionsProvider.bulkActions.push(['myResource', function (myResource)
angular.module('umbraco.commerce')
.config(['ucActionsProvider', function (ucActionsProvider) {
ucActionsProvider.bulkActions.push(['myResource', function (myResource)
{
return {
name: 'My Action',
Expand Down Expand Up @@ -95,9 +95,9 @@ Only an `itemAction` or a `bulkAction` method can be defined for a bulk action c
The following section display an example of a bulk action with dialog configuration step:

```csharp
angular.module('umbracoCommerce')
.config(['umbracoCommerceActionsProvider', function (umbracoCommerceActionsProvider) {
umbracoCommerceActionsProvider.bulkActions.push(['$q', 'editorService', 'myResource', function ($q, editorService, myResource)
angular.module('umbraco.commerce')
.config(['ucActionsProvider', function (ucActionsProvider) {
ucActionsProvider.bulkActions.push(['$q', 'editorService', 'myResource', function ($q, editorService, myResource)
{
return {
name: 'My Action',
Expand Down

0 comments on commit 5d72634

Please sign in to comment.