Fix empty 'more' apps navigation after installing an app

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2020-06-01 01:54:16 +02:00 committed by Jan C. Borchardt
parent 5cc978657e
commit 42a265ca38
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
1 changed files with 3 additions and 3 deletions

View File

@ -42,11 +42,11 @@ OC.Settings.Apps = OC.Settings.Apps || {
var a = $('<a></a>').attr('href', entry.href);
var filename = $('<span></span>');
var loading = $('<div class="icon-loading-dark"></div>').css('display', 'none');
filename.text(entry.name); filename.text(entry.name);
filename.text(entry.name);
a.prepend(loading);
a.prepend(filename);
a.prepend(img);
li.append(a);
li.append(filename);
// add app icon to the navigation
var previousElement = $('#navigation li[data-id=' + previousEntry.id + ']');
@ -84,9 +84,9 @@ OC.Settings.Apps = OC.Settings.Apps || {
var loading = $('<div class="icon-loading-dark"></div>').css('display', 'none');
filename.text(entry.name);
a.prepend(loading);
a.prepend(filename);
a.prepend(img);
li.append(a);
li.append(filename);
// add app icon to the navigation
var previousElement = $('#appmenu li[data-id=' + previousEntry.id + ']');