diff --git a/src/api/actions/ActionsAPI.js b/src/api/actions/ActionsAPI.js index d8383522a5..a2be065dce 100644 --- a/src/api/actions/ActionsAPI.js +++ b/src/api/actions/ActionsAPI.js @@ -60,9 +60,7 @@ class ActionsAPI extends EventEmitter { } _getCachedActionCollection(objectPath, view) { - let cachedActionCollection = this._actionCollections.get(view); - - return cachedActionCollection; + return this._actionCollections.get(view); } _newActionCollection(objectPath, view, skipEnvironmentObservers) {