зеркало из https://github.com/nextcloud/deck.git
Do not overwrite emtpy values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Родитель
8f5ded6a28
Коммит
76e3cc5061
|
@ -124,7 +124,9 @@ app.factory('ApiService', function ($http, $q) {
|
|||
this.data[entity.id] = entity;
|
||||
} else {
|
||||
Object.keys(entity).forEach(function (key) {
|
||||
element[key] = entity[key];
|
||||
if (entity[key] !== null) {
|
||||
element[key] = entity[key];
|
||||
}
|
||||
});
|
||||
element.status = {};
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче