sort (none) folder last. Updated to .NET Core runtime.
This commit is contained in:
parent
0996ef86b7
commit
08d5c36f16
|
@ -16,7 +16,14 @@
|
|||
},
|
||||
|
||||
"frameworks": {
|
||||
"net46": { }
|
||||
"netcoreapp1.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"version": "1.0.0-*",
|
||||
"type": "platform"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"buildOptions": {
|
||||
|
|
|
@ -58,6 +58,14 @@
|
|||
$scope.loadingFolders = false;
|
||||
});
|
||||
|
||||
$scope.folderSort = function (item) {
|
||||
if (!item.id) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return item.name.toLowerCase();
|
||||
};
|
||||
|
||||
$scope.editSite = function (site) {
|
||||
var editModel = $uibModal.open({
|
||||
animation: true,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div ng-show="loadingFolders && !folders.length">
|
||||
<p>Loading...</p>
|
||||
</div>
|
||||
<div class="box" ng-repeat="folder in folders | orderBy: 'name'" ng-show="folders.length">
|
||||
<div class="box" ng-repeat="folder in folders | orderBy: folderSort" ng-show="folders.length">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><i class="fa fa-folder-open"></i> {{folder.name}}</h3>
|
||||
<div class="box-tools pull-right">
|
||||
|
|
Loading…
Reference in New Issue