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:
parent
27dcd708a6
commit
a72ffe4188
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue