Switched to using loads.orderby
This commit is contained in:
4
dist/index.html
vendored
4
dist/index.html
vendored
@@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Beautiful Atlas</title>
|
<title>Beautiful Atlas</title>
|
||||||
<link href="/static/styles.d057ef1ee4e62b44d2e8.css" rel="stylesheet"></head>
|
<link href="/static/styles.fe52c89d9dc49fc68561.css" rel="stylesheet"></head>
|
||||||
<body style='display: flex; width: 100%'>
|
<body style='display: flex; width: 100%'>
|
||||||
<div id="root" style='display: flex; width: 100%'></div>
|
<div id="root" style='display: flex; width: 100%'></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@@ -15,5 +15,5 @@
|
|||||||
// });
|
// });
|
||||||
// };
|
// };
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="/static/bundle.d057ef1ee4e62b44d2e8.js"></script></body>
|
<script type="text/javascript" src="/static/bundle.fe52c89d9dc49fc68561.js"></script></body>
|
||||||
</html>
|
</html>
|
||||||
@@ -67,6 +67,7 @@
|
|||||||
"koa-webpack-hot-middleware": "^1.0.3",
|
"koa-webpack-hot-middleware": "^1.0.3",
|
||||||
"localenv": "^0.2.2",
|
"localenv": "^0.2.2",
|
||||||
"lodash": "^4.13.1",
|
"lodash": "^4.13.1",
|
||||||
|
"lodash.orderby": "^4.4.0",
|
||||||
"marked": "^0.3.5",
|
"marked": "^0.3.5",
|
||||||
"moment": "^2.13.0",
|
"moment": "^2.13.0",
|
||||||
"node-dev": "^3.1.0",
|
"node-dev": "^3.1.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import Router from 'koa-router';
|
import Router from 'koa-router';
|
||||||
import httpErrors from 'http-errors';
|
import httpErrors from 'http-errors';
|
||||||
import _orderBy from 'lodash/orderby';
|
import _orderBy from 'lodash.orderby';
|
||||||
|
|
||||||
import auth from './authentication';
|
import auth from './authentication';
|
||||||
import pagination from './middlewares/pagination';
|
import pagination from './middlewares/pagination';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import _orderBy from 'lodash/orderby';
|
import _orderBy from 'lodash.orderby';
|
||||||
import Document from './models/Document';
|
import Document from './models/Document';
|
||||||
|
|
||||||
export function presentUser(user) {
|
export function presentUser(user) {
|
||||||
|
|||||||
Reference in New Issue
Block a user