Make images loaded lazily on the repo tags page, as they will not be needed in the read-only (common) case.
This commit is contained in:
parent
8eb9c376cd
commit
23fafa6b4a
7 changed files with 107 additions and 38 deletions
|
@ -21,8 +21,7 @@
|
|||
<i class="fa fa-info-circle"></i>
|
||||
</span>
|
||||
|
||||
<span class="cor-tab" tab-title="Tags" tab-target="#tags"
|
||||
tab-init="requireImages()">
|
||||
<span class="cor-tab" tab-title="Tags" tab-target="#tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
</span>
|
||||
|
||||
|
@ -66,7 +65,8 @@
|
|||
repository="viewScope.repository"
|
||||
images="viewScope.images"
|
||||
images-resource="viewScope.imagesResource"
|
||||
selected-tags="viewScope.selectedTags"></div>
|
||||
selected-tags="viewScope.selectedTags"
|
||||
get-images="getImages(callback)"></div>
|
||||
</div>
|
||||
|
||||
<!-- Builds -->
|
||||
|
|
Reference in a new issue