sort (none) folder last. Updated to .NET Core runtime.

This commit is contained in:
Kyle Spearrin 2016-08-08 23:50:47 -04:00
parent 0996ef86b7
commit 08d5c36f16
3 changed files with 17 additions and 2 deletions

View File

@ -16,7 +16,14 @@
},
"frameworks": {
"net46": { }
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.0.0-*",
"type": "platform"
}
}
}
},
"buildOptions": {

View File

@ -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,

View File

@ -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">