Removed lodash from js dependencies
This commit is contained in:
parent
ce5869d213
commit
3203c71953
2 changed files with 2 additions and 4 deletions
|
@ -55,7 +55,6 @@
|
||||||
"karma-phantomjs-launcher": "^1.0.4",
|
"karma-phantomjs-launcher": "^1.0.4",
|
||||||
"karma-webdriver-launcher": "^1.0.5",
|
"karma-webdriver-launcher": "^1.0.5",
|
||||||
"karma-webpack": "^2.0.3",
|
"karma-webpack": "^2.0.3",
|
||||||
"lodash": "^4.17.10",
|
|
||||||
"material-design-icons-iconfont": "^3.0.3",
|
"material-design-icons-iconfont": "^3.0.3",
|
||||||
"mocha": "^3.3.0",
|
"mocha": "^3.3.0",
|
||||||
"node-sass": "^4.9.2",
|
"node-sass": "^4.9.2",
|
||||||
|
|
|
@ -193,7 +193,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Photo from 'model/photo';
|
import Photo from 'model/photo';
|
||||||
import _ from 'lodash/lang';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'photos',
|
name: 'photos',
|
||||||
|
@ -333,9 +332,9 @@
|
||||||
},
|
},
|
||||||
refreshList() {
|
refreshList() {
|
||||||
this.loadMoreDisabled = true;
|
this.loadMoreDisabled = true;
|
||||||
console.log('QUERY', this.lastQuery, this.query);
|
|
||||||
// Don't query the same data more than once
|
// Don't query the same data more than once
|
||||||
if (_.isEqual(this.lastQuery, this.query)) return;
|
if (JSON.stringify(this.lastQuery) === JSON.stringify(this.query)) return;
|
||||||
|
|
||||||
Object.assign(this.lastQuery, this.query);
|
Object.assign(this.lastQuery, this.query);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue