mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
Restore the ability to customize the logo image. (#327)
This commit is contained in:
parent
9f46b12625
commit
08c868bc1c
2 changed files with 3 additions and 2 deletions
|
@ -13,6 +13,7 @@ function ($scope, $cookieStore, Settings, Config, Info) {
|
|||
$scope.swarm_mode = false;
|
||||
|
||||
Config.$promise.then(function (c) {
|
||||
$scope.logo = c.logo;
|
||||
$scope.swarm = c.swarm;
|
||||
Info.get({}, function(d) {
|
||||
if ($scope.swarm && !_.startsWith(d.ServerVersion, 'swarm')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue