Ensure the avatar is always updated in all places

Fixes #549
This commit is contained in:
Johannes Zellner
2016-01-20 16:55:41 +01:00
parent 2cb498d500
commit 5112322e7d
5 changed files with 12 additions and 13 deletions

View File

@@ -4,8 +4,8 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
$scope.initialized = false;
$scope.user = Client.getUserInfo();
$scope.installedApps = Client.getInstalledApps();
$scope.cloudronAvatar = Client.apiOrigin + '/api/v1/cloudron/avatar';
$scope.config = {};
$scope.client = Client;
$scope.update = {
busy: false,