fix(extensions): use an empty object instead of a null value when registering extension (#1750)

pull/1755/head
Anthony Lapenna 7 years ago committed by GitHub
parent 27dcd708a6
commit a72ffe4188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,7 +12,7 @@ function ExtensionManagerFactory($q, PluginService, SystemService, ExtensionServ
var endpointAPIVersion = parseFloat(data.ApiVersion);
return $q.all([
endpointAPIVersion >= 1.25 ? initStoridgeExtension(): null
endpointAPIVersion >= 1.25 ? initStoridgeExtension(): {}
]);
})
.then(function success(data) {

Loading…
Cancel
Save