1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 21:35:23 +02:00

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

This commit is contained in:
Anthony Lapenna 2018-03-22 14:37:36 +10:00 committed by GitHub
parent 27dcd708a6
commit a72ffe4188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {