Skip to content

Commit

Permalink
Change regular function to arrow function - Magic button - moreMagic (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaFdezJ authored Oct 7, 2019
1 parent c0c687b commit 70038d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inputs/magic-button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@
// (not field, component, or moreMagic)
if (moreMagic.length) {
return promise
.then(function (res) {
.then((res) => {
return reducePromise(moreMagic, doMoreMagic.bind(this), res);
})
.then((finalRes) => {
Expand Down

0 comments on commit 70038d1

Please sign in to comment.